Additional Info in email notification
Thibault Genessay
tgenessay at aliadis.fr
Fri Feb 10 17:15:26 CET 2006
lkk at interfree.it wrote:
>>You don't have access to the $OUTPUT$ variable in the host notification
>>(I don't even know if it actually exists). You should use $HOSTOUTPUT$
>>instead (and $SERVICEOUTPUT$ for your service-notify-by-email command)
>>See http://nagios.sourceforge.net/docs/2_0/macros.html
>>
>>
>
>Now! It's working!
>But I have a problem with the Windows Servers!
>
>
For once, it's not poor Windows' fault
>I see only D:
>I want to see the message like in the browser:
>
>i.e. D:\ - total: 63.80 Gb - used: 61.72 Gb (97%) - free 2.08 Gb (3%)
>
>
Use quotes , i.e.
command_line /usr/bin/sendmail [...] "$HOSTOUTPUT$"
Dealing with quotes and escaping is part of the joys of the
configuration of Nagios :)
--
Thibault
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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