alerts not reaching me

Gerd Müller gmueller at netways.de
Tue Sep 28 21:21:34 CEST 2004


Hi Payal    



as we already told you:



# 'notify-by-email' command definition

 define command{

 command_name notify-by-email

 command_line /usr/bin/printf "%b" "***** Nagios 1.0 *****\n\nNotificatio
n Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\n
Address: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\
nAdditional Info:\n\n$OUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$
 alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$

 }

 







- Gerd Müller (gmueller)



-----------------------

This thread is located in the archive at this URL:

http://www.nagiosexchange.org/nagios-users.1488.0.html?&tx_maillisttofaq_
pi1[showUid]=144

     


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list