host notifications not sent properly
"Radhakrishnan.V" <[email protected]> Mon, 6 Jan 2003 12:03:16 +0530
| Newsgroups | gmane.network.netsaint.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am facing a peculiar problem with Netsaint 0.0.7 I get notifications if there are services which are down, but not with hosts down. ie notify-by-email is working fine,but host-notify-by-email does not work properly. I have only one contact and the configuration is to report all problems to one email address. The log does not show anything unusual. It says notifications are sent, but I receive only the service outage notifications.I tried enabling the notifcations for all levels, but does not help I am providing he relevant parts of my conf. If you feel anything more is to be provided, pls let me know TIA Radakrishnan command[host-notify-by-email]=/usr/bin/printf '***** NetSaint *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n' | /bin/mail -s 'Host $HOSTSTATE$ alert for $HOSTNAME$!' $CONTACTEMAIL$ command[notify-by-email]=/usr/bin/printf '***** NetSaint *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$' | /bin/mail -s '** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **' $CONTACTEMAIL$ contact[netsaint]=Site Admin;24x7;24x7;1;1;1;1;1;1;notify-by-email;host-notify-by-email;ab@company. net; ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf