<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=431214115-10022006><FONT face=Arial color=#0000ff size=2>i
never said it didn't! </FONT></SPAN></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Toto Capuccino
[mailto:shoktai@gmail.com]<BR><B>Sent:</B> 10 February 2006
15:09<BR><B>To:</B> Deborah Martin<BR><B>Cc:</B> lkk@interfree.it;
nagios-users@lists.sourceforge.net<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">Deborah.Martin@kognitio.com</A>>:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">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">lkk@interfree.it</A>
[mailto:<A href="mailto:lkk@interfree.it"> lkk@interfree.it</A>]<BR>Sent: 10
February 2006 14:43<BR>To: <A
href="mailto:nagios-users@lists.sourceforge.net">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">lkk@interfree.it</A> <<A
href="mailto:lkk@interfree.it">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/">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<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">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. </BLOCKQUOTE></BODY></HTML>