I am running a homemade check to check about 8 core processes. Occasionally
the check times out after 10 seconds.
All this check does is run /etc/init.d/xxxx status and use either the 0 or 1
exit code to report that the process is OK or Critical.
I verified in my nagios.cfg file the timeoout setting is set to 60 secs and the
utils.pm variable for timeout is set to 15 seconds.
I have no timeout setting in this script but figured I need one. Where is the
check getting the 10 sec value from? I assume its a default for a nagios check.
If I rewrite the script in perl ( its a simple bash now) and use the utils.pm,
does that automatically give me the -t option where I could set any timeout
value or will it only set the timeout to 15 seconds as in the utils.pm?
Is there a simple way to add a timeout for this check only ?
Thanks,
Steve
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users@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