I am using version 2.0 last modified 2-7-2006.
The notification by e-mail doesn’t have the $SERVICEOUTPUT$. Here is my misccommands.cf entry:
‘notify-by-email’ command definition
command_line /usr/bin/printf “%b” “***** Nagios ***\n\nNotificat
ion Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAdd
ress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdd
itional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s " $NOTIFICATIONTYPE$ al
ert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **” $CONTACTEMAIL$
(The above is one continuous line.)
How do I troubleshoot this? I know the service commands are producing output because I see it on the web pages.
Thanks for any direction on how to solve this.