<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000099">
This seems to have worked for the WARNING or CRITICAL notifications,
but not for recovery emails. If I grep for "Additional Info" in my
checkcommands.cfg, it only matches for the "notify-service-by-email"
command definition, yet in recovery emails, I still see the "Additional
Info" line at the bottom, but no content. Any ideas on how I would get
the $LONGSERVICEOUPUT$ in a recovery email as well?<br>
<pre class="moz-signature" cols="72">
  A. Davis
  Email:     <a class="moz-txt-link-abbreviated" href="mailto:nccomp@gmail.com">nccomp@gmail.com</a>

  "There is no limit to what a man can accomplish
   if he doesn't care who gets the credit." - Ronald Reagan
</pre>
<br>
<br>
Marc Powell wrote:
<blockquote cite="mid:89F80424-67DE-47AB-9452-43C95D73E461@ena.com"
 type="cite">
  <pre wrap="">On Mar 31, 2009, at 12:52 PM, Andrew Davis wrote:


  </pre>
  <blockquote type="cite">
    <pre wrap="">Additional Info:

PROCS WARNING

What I need is to see which processes are down in the "Additional  
Info:" field when its emailed. Anyone know how I would go about  
this? Unfortunately, I'm not a perl guy... I've included the script  
below...
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I suspect you need to add the $LONGSERVICEOUTPUT$ macro after the  
$SERVICEOUTPUT$ macro in your notification command --

<a class="moz-txt-link-freetext" href="http://nagios.sourceforge.net/docs/3_0/macrolist.html#serviceoutput">http://nagios.sourceforge.net/docs/3_0/macrolist.html#serviceoutput</a>

--
Marc


------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
  </pre>
</blockquote>
</body>
</html>