<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 12pt Tahoma">
<DIV>I had the same problem.  The variables have changed in 2.x.</DIV>
<DIV> </DIV>
<DIV>Try  $SHORTDATETIME$ and $SERVICEOUTPUT$ in the misccommands.cfg file</DIV>
<DIV> </DIV>
<DIV>Mine look like this:</DIV>
<DIV># 'notify-by-email' command definition<BR>define command{<BR>        command_name    notify-by-email<BR>        command_line    /usr/bin/printf "%b" "***** Nagios  *****\n\nNotification Type: $NOTIFICATIONTYPE<BR>$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Tim<BR>e: $SHORTDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert -<BR>$HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$<BR>        }</DIV>
<DIV> </DIV>
<DIV>HTH!</DIV>
<DIV><BR><BR>>>> "Rodney Caston" <rodney.caston@match.com> 3/30/2005 11:26 AM >>><BR></DIV>
<DIV style="COLOR: #000000">Since upgrading to the new new 2.0b2 release, nagios has began sending<BR>out pages in the following format:<BR><BR>####################<BR>***** Nagios  *****<BR><BR>Notification Type: PROBLEM<BR><BR>Service: SMTP<BR>Host:  mailhost<BR>Address: 192.168.1.100<BR>State: CRITICAL<BR><BR>Date/Time: $<BR><BR>Additional Info:<BR><BR>$<BR>###################<BR><BR>For some reason the Date/Time and the Additional Info fields are now<BR>showing up as a $ instead of the values they should be.<BR><BR>Any thoughts?<BR><BR><BR><BR>-------------------------------------------------------<BR>SF email is sponsored by - The IT Product Guide<BR>Read honest & candid reviews on hundreds of IT Products from real users.<BR>Discover which products truly live up to the hype. Start reading now.<BR><A href="http://ads.osdn.com/?ad_ide95&alloc_id396&op=click">http://ads.osdn.com/?ad_ide95&alloc_id396&op=click</A><BR>_______________________________________________<BR>Nagios-users mailing list<BR>Nagios-users@lists.sourceforge.net<BR><A href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</A><BR>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<BR>::: Messages without supporting info will risk being sent to /dev/null<BR></DIV></BODY></HTML>