<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Jamie Bohr wrote:
<blockquote cite="mid1119639172.5098.41.camel@incredibles" type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="GENERATOR" content="GtkHTML/3.3.2">
I just upgraded to Nagios 2b3 and have found that notifications are not
missing information.<br>
  <br>
For example Date/Time and Additional information are missing
information:
  <pre>
<tt>***** Nagios  *****</tt>

<tt>Notification Type: ACKNOWLEDGEMENT</tt>

<tt>Service: httpd</tt>
<tt>Host: </tt>xxx
<tt>Address: </tt>XXXXXXX
<tt>State: WARNING</tt>

<tt>Date/Time: $</tt>

<tt>Additional Info:</tt>

<tt>$</tt>
  </pre>
  <br>
I use the default command to notify:<br>
  <br>
  <pre>define command {
  command_name                   notify-by-email
  command_line                   /usr/bin/printf "%b" "***** Nagios  *****\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$
}
  </pre>
  <br>
I have searched to list archive but have not found any thing that
guides me to an answer.  The addition information shows up as comments
on the web page.  Please point me in the right direction.<br>
</blockquote>
In the 'notify-by-email' command, change $OUTPUT$ to $SERVICEOUTPUT$.<br>
<br>
In the 'host-notify-by-email' command, change $OUTPUT$ to $HOSTOUTPUT$.<br>
</body>
</html>