there is the notify-service-bby-email command, you should try: <br><br># 'notify-service-by-email' command definition<br>define command{<br>        command_name    notify-service-by-email<br>        command_line    /usr/bin/printf "%b" "***** Nagios *****\n\nNotification<br>
 Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:<br> $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional<br> Info:\n\n$SERVICEOUTPUT$\n$LONGSERVICEOUTPUT$\n\n$USER10$?host=$HOSTNAME$\n\n$S<br>
ERVICEACKCOMMENT$\n$SERVICEACKAUTHORALIAS$" | /bin/mail -s "** $NOTIFICATIONTYPE<br>$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$<br>        }<br><br><br><div class="gmail_quote">
On Thu, Mar 11, 2010 at 3:28 PM, Rob Tanner <span dir="ltr"><<a href="mailto:rtanner@linfield.edu">rtanner@linfield.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




<div>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">Hi,<br>
<br>
When an acknowledgement notification gets sent, it includes the hostname, the state and the IP address, and that’s all.  I would also like to see the time and date, the name of the tech that acknowledged the problem, and the text of his or her comment.  I presume the command I need to modify is notify-by-email in misccommand.cfg, but the command line includes “Date/Time: $LONGDATETIME$” while all I see in the actual email message is “Date/Time: $”.<br>

<br>
Any idea what’s going on?<br>
<br>
Thanks,<br>
Rob<br>
<br>
<br>
<br>
<b>Rob Tanner<br>
</b>UNIX Services Manager<br>
Linfield College, McMinnville Oregon<br>
<br>
</span></font>
</div>


<br>------------------------------------------------------------------------------<br>
Download Intel&#174; Parallel Studio Eval<br>
Try the new software tools for yourself. Speed compiling, find bugs<br>
proactively, and fine-tune applications for parallel performance.<br>
See why Intel Parallel Studio got high marks during beta.<br>
<a href="http://p.sf.net/sfu/intel-sw-dev" target="_blank">http://p.sf.net/sfu/intel-sw-dev</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" target="_blank">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>