Additional Info in email?

Andrew Davis nccomp at gmail.com
Tue Mar 31 23:19:01 CEST 2009


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?

  A. Davis
  Email:     nccomp at gmail.com

  "There is no limit to what a man can accomplish
   if he doesn't care who gets the credit." - Ronald Reagan



Marc Powell wrote:
> On Mar 31, 2009, at 12:52 PM, Andrew Davis wrote:
>
>
>   
>> 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...
>>     
>
> I suspect you need to add the $LONGSERVICEOUTPUT$ macro after the  
> $SERVICEOUTPUT$ macro in your notification command --
>
> http://nagios.sourceforge.net/docs/3_0/macrolist.html#serviceoutput
>
> --
> Marc
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090331/882f94e6/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list