So, I've got multiple Icinga servers running, and one of them is not sending 
the value of $SERVICEOUTPUT$ in email; it's showing up when I run commands by 
hand, it's showing up when I look at the GUI, and $LONGSERVICEOUTPUT$ is 
showing up, but not $SERVICEOUTPUT$.

Here's the notify-by-email command I'm using:

# 'notify-by-email' command definition
define command{
        command_name    notify-by-email
        command_line    /usr/bin/printf "%b" "***** Globix Icinga   *****\n\nNot
ification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\
nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nA
dditional Info:\n\n$SERVICEOUTPUT$ $SERVICEPERFDATA$ $LONGSERVICEOUTPUT$" | /usr
/bin/mailx -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVI
CESTATE$ **" $CONTACTEMAIL$
        }

I don't think I'm missing something obvious - has anyone else had this problem 
or something like it?

Steven Schwartz
Gracenote, Inc.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to