[Nagios-devel] How does nagios handle plugin exit not in [0, 1, 2,
-
Guest
[Nagios-devel] How does nagios handle plugin exit not in [0, 1, 2,
Hi all:
How does nagios handle plugins that don't exit with an errorcode of 0,
1, 2, or 3? If the plugin exits with say 127, is the host check logic
triggered?
The reason I ask is that I just fixed ~10 services (that were run
every 3 minutes) that were failing (java was missing from the system),
and the average latency went from 2 minutes to less than 6 seconds
(usually in the .6 range), with the max at 25 seconds. This seems a
huge difference given the fix.
I could almost buy it if each failure triggered a halt to polling and
forced it to do host checks, but even then the magnitude of the change
is a bit unbelievable.
If the failure (w/ exit code 127) would trigger host checking, should
the logic change to do host checking only when the plugin exits with a
status in the [0-3] range since it is an invalid exit code?
I am seeing this with nagios 2.7 on Centos 4.4.
-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]