[Nagiosplug-help] Nagios TIMEOUT

Jason Martin jhmartin at toger.us
Sun Feb 27 09:28:06 CET 2005


On Fri, Feb 25, 2005 at 04:13:23PM +0000, kurtmc at netzero.com wrote:
> State: CRITICAL
> (Service Check Timed Out)
This isn't your plugin timing out, it is Nagios killing you
plugin since it times out. The alarm doesn't appear to be
working.

If you want specific text /severity when the alarm trips, you need to
install a signal handler for alarm. I think it is is something
like:

$SIG{ALRM} = sub { print "Plugin timed out!"; exit 1;}

-Jason Martin
-- 
Windows NT: The world's only 80 megabyte Solitaire game!
This message is PGP/MIME signed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 211 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20050227/3b9e00cb/attachment.sig>


More information about the Help mailing list