<div>Do i have to stop nagios and restart it again for it to work</div>
<div> </div>
<div>thanks for the command thou<br><br> </div>
<div><span class="gmail_quote">On 6/21/07, <b class="gmail_sendername">Marc Powell</b> <<a href="mailto:marc@ena.com">marc@ena.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br><br>> -----Original Message-----<br>> From: <a href="mailto:nagios-users-bounces@lists.sourceforge.net">
nagios-users-bounces@lists.sourceforge.net</a> [mailto:<a href="mailto:nagios-users-">nagios-users-</a><br>> <a href="mailto:bounces@lists.sourceforge.net">bounces@lists.sourceforge.net</a>] On Behalf Of Nedim Bicic<br>
> Sent: Wednesday, June 20, 2007 7:57 PM<br>> To: <a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>> Subject: [Nagios-users] Nagios Message Acknowledgment<br>><br>> Hi all i have nagios 
2.4 i was wondering when a user would<br>acknowledges a<br>> down host and it sends an email as well i want to include the message<br>the<br>> user has input of why the host is down<br><br>Add the $HOSTACKCOMMENT$ macro to your notification command like --
<br><br>define command {<br>   command_name                   host-notify-by-email<br>   command_line                   /bin/echo -e "Subject:<br>$NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$\n\n*****<br>
Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost:<br>$HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo:<br>$HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\nAcknowledged By:<br>$HOSTACKAUTHOR$\nAcnkowledgement: $HOSTACKCOMMENT$" | /bin/mail
<br>$CONTACTEMAIL$<br>   }<br><br>A full list of macros available is listed in the documentation under<br>'Using Macros in Commands'.<br><br>--<br>Marc<br><br>-------------------------------------------------------------------------
<br>This SF.net email is sponsored by DB2 Express<br>Download DB2 Express C - the FREE version of DB2 express and take<br>control of your XML. No limits. Just data. Click to get it now.<br><a href="http://sourceforge.net/powerbar/db2/">
http://sourceforge.net/powerbar/db2/</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>