i never say you didnt <br><br><div><span class="gmail_quote">2006/2/10, Deborah Martin <<a href="mailto:Deborah.Martin@kognitio.com">Deborah.Martin@kognitio.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><span><font color="#0000ff" face="Arial" size="2">i
never said it didn't! </font></span></div>
<blockquote>
<div dir="ltr" align="left"><font face="Tahoma" size="2">-----Original Message-----<br><b>From:</b> Toto Capuccino
[mailto:<a href="mailto:shoktai@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">shoktai@gmail.com</a>]<br><b>Sent:</b> 10 February 2006
15:09<br><b>To:</b> Deborah Martin<br><b>Cc:</b> <a href="mailto:lkk@interfree.it" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">lkk@interfree.it</a>;
<a href="mailto:nagios-users@lists.sourceforge.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">nagios-users@lists.sourceforge.net</a><br><b>Subject:</b> Re: [Nagios-users]
Additional Info in email notification<br><br></font></div>$OUTPUT$ works for
nagios 1.3 actually.<br><br>
<div><span class="gmail_quote">2006/2/10, Deborah Martin <<a href="mailto:Deborah.Martin@kognitio.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Deborah.Martin@kognitio.com</a>>:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">try
the following : essentially instead of using $OUTPUT$, replace
with<br>$SERVICEOUTPUT$<br>This works fine for me.<br><br><br>define
command{<br> command_name notify-by-email<br> command_line /usr/bin/printf
"%b" "***** Nagios <br>*****\n\nNotification Type:
$NOTIFICATIONTYPE$\n\nService:<br>$SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:
$HOSTADDRESS$\nState:<br>$SERVICESTATE$\n\nDate/Time:
$LONGDATETIME$\n\nAdditional<br>Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s
"** $NOTIFICATIONTYPE$ alert - <br>$HOSTALIAS$/$SERVICEDESC$ is
$SERVICESTATE$ **"
$CONTACTEMAIL$<br> }<br><br><br>regards,<br>deborah<br>-----Original
Message-----<br>From: <a href="mailto:lkk@interfree.it" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">lkk@interfree.it</a>
[mailto:<a href="mailto:lkk@interfree.it" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> lkk@interfree.it</a>]<br>Sent: 10
February 2006 14:43<br>To: <a href="mailto:nagios-users@lists.sourceforge.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">nagios-users@lists.sourceforge.net</a><br>Subject:
[Nagios-users] Additional Info in email notification<br><br><br><br>I have
already tried this but I don't to receive Additional Info.<br><br>What can I
do now?<br><br>Ths<br><br>>Hi,<br>>try to put something like this in
your miscommands.cfg file that should<br>>contact the email notification
command : <br>>define
command{<br>> command_name host-notify-by-email<br>> command_line /usr/bin/printf
"%b" "***** Nagios<br>>*****\n\nNotification Type:
$NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: <br>>$HOSTSTATE$\nAddress:
$HOSTADDRESS$\nAdditional
Info:<br>$OUTPUT$\n\nDate/Time:<br>>$DATETIME$\n" | /usr/bin/sendmail
"Host $HOSTSTATE$ alert for
$HOSTNAME$!"<br>>$CONTACTEMAIL$<br>> }
<br>><br>>10 Feb 2006 10:44:26 -0000, <a href="mailto:lkk@interfree.it" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">lkk@interfree.it</a> <<a href="mailto:lkk@interfree.it" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
lkk@interfree.it</a>>:
><br><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/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>:::
Please include Nagios version, plugin version (-v) and OS when
reporting<br>any issue.<br>::: Messages without supporting info will risk
being sent to /dev/null
<br><br>************************************************************************<br>This
email and any files transmitted with it are confidential and<br>intended
solely for the use of the individual or entity to whom they <br>are
addressed. Any unauthorised distribution or copying is
strictly<br>prohibited.<br><br>Whilst Kognitio Limited takes steps to
prevent the transmission of<br>viruses via e-mail, we can not guarantee that
any email or <br>attachment is free from computer viruses and you are
strongly<br>advised to undertake your own anti-virus
precautions.<br><br>Kognitio grants no warranties regarding
performance,<br>use or quality of any e-mail or attachment and undertakes no
<br>liability for loss or damage, howsoever
caused.<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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
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. </blockquote>
</blockquote></div><br><br clear="all"><br>-- <br>Le bon sens est la chose du monde la mieux partagée.