Re: [Nagios-devel] I would expect Nagios to return -1, or 3 for "system14;UP;HARD;1;(No output!)"

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] I would expect Nagios to return -1, or 3 for "system14;UP;HARD;1;(No output!)"

Post by Guest »

Hi Michael =09

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 =20

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-de ... ttofaq_pi=

1[showUid]=3D15125

=09





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked