check_ifstatus timeout problem

Cook, Garry GWCOOK at mactec.com
Mon Jul 21 22:09:19 CEST 2003


Using check_ifstatus v.1.3 I'm seeing timeouts from some of my routers.
The error reported is:

ERROR: No snmp response from 10.1.222.1. (alarm timeout)

My question is this, how do I increase the timeout value for this
plugin?

As a temporary workaround I've commented out the timeout code
completely:

# Just in case of problems, let's not hang Nagios

#$SIG{'ALRM'} = sub {
#     print ("ERROR: No snmp response from $hostname (alarm
timeout)\n");
#     exit $ERRORS{"UNKNOWN"};
#};
#alarm($TIMEOUT);

Although I'm guessing that this was added for good reason and should
probably be left in.

Garry W. Cook, CCNA
Network Infrastructure Manager
MACTEC, Inc. - http://www.mactec.com/
303.308.6228 (Office) - 303.881.5157 (Mobile)


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list