hello,
i have a problem with service notification that sent by nagios.
some variables are blank:
=========================================
Subject: ** PROBLEM alert - myhost/ is **
---------------------------------------------------------
***** Nagios *****
Notification Type: PROBLEM
Service:
Host: myhost
Address: 192.200.200.65
State:
Date/Time: Tue May 16 04:14:04 WIT 2006
Additional Info:
=========================================
here is my notify-by-email command:
---------------------------------------------
/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info: $SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$
---------------------------------------------
i've tried with nagios-2.0-2.2, nagios-2.3-1 and nagios-plugins-1.4-2.2, nagios-plugins-1.4.2-1.2. but no luck.... :?:
i have a problem with service notification that sent by nagios.
some variables are blank:
=========================================
Subject: ** PROBLEM alert - myhost/ is **
---------------------------------------------------------
***** Nagios *****
Notification Type: PROBLEM
Service:
Host: myhost
Address: 192.200.200.65
State:
Date/Time: Tue May 16 04:14:04 WIT 2006
Additional Info:
=========================================
here is my notify-by-email command:
---------------------------------------------
/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info: $SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$
---------------------------------------------
i've tried with nagios-2.0-2.2, nagios-2.3-1 and nagios-plugins-1.4-2.2, nagios-plugins-1.4.2-1.2. but no luck.... :?:
Comment