Hi,<br>try to put something like this in your miscommands.cfg file that should contact the email notification command :<br>define command{<br> command_name host-notify-by-email<br> command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\n
<span style="color: rgb(255, 0, 0);">Additional Info: $OUTPUT$\n</span>\nDate/Time: $DATETIME$\n" | /usr/bin/sendmail "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$<br> }<br><br><br><div><span class="gmail_quote">
10 Feb 2006 10:44:26 -0000, <a href="mailto:lkk@interfree.it">lkk@interfree.it</a> <<a href="mailto:lkk@interfree.it">lkk@interfree.it</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Hi, there<br><br>I would to include additional info into email notification!<br>What can I do?<br><br>This is the email that nagios sends me.<br><br><br><br>------------------------------------------------------------------------
<br>**** Nagios *****<br><br>Notification Type: PROBLEM<br><br>Service: Ping<br>Host: myhost<br>Address: IP<br>State: CRITICAL<br><br>Date/Time: Fri Feb 10 11:14:20 CET 2006<br><br>Additional Info:<br><br>$<br>------------------------------------------------------------------------
<br><br><br>Ths<br><br>------------------------------------------------------------<br>Sei stanco di girare a vuoto?<br>Con il nuovo motore di ricerca Interfree trovi di tutto.<br>Vieni a trovarci: <a href="http://search.interfree.it/">
http://search.interfree.it/</a><br><br>Lo Staff di Interfree<br>------------------------------------------------------------<br><br><br><br>-------------------------------------------------------<br>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
<br>for problems? Stop! Download the new AJAX search engine that makes<br>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!<br><a href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642">
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642</a><br>_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">
Nagios-users@lists.sourceforge.net</a><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></blockquote></div><br><br clear="all"><br>-- <br>Le bon sens est la chose du monde la mieux partagée.