I would expect Nagios to return -1, or 3 for "system14;UP;HARD;1;(No output!)"
Lee Fitz
leefitzg at aol.com
Mon Feb 13 19:54:03 CET 2006
Hi Michael
thanks for your response
>...check_ping plugin is not producing any output
right - this is the standard plugin which is clearly encountering
some kind of weird condition as the system being monitored restarts.
>...Basically, the plugin shouldn't be returning 0 unless the host
is up.
right - 'standard plugin', anyway Nagios is creating the No output!
message - this is why I believe it should set the state to UNKNOWN
(or invent a new state) because it definitely causing the wrong
notification to be sent (ie system up)
2820: strcpy(buffer,"(No output!)");
./base/utils.c
486: strcpy(plugin_output,"(No output!)");
./base/checks.c
Unless anyone as an idea about how I can avoid the condition or
ignore the result I probably will submit a bug report.
- Lee Fitz (leefitz)
-----------------------
This thread is located in the archive at this URL:
http://www.nagiosexchange.org/nagios-devel.33.0.html?&tx_maillisttofaq_pi
1[showUid]=15125
-------------------------------------------------------
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&kid3432&bid#0486&dat1642
More information about the Developers
mailing list