check_snmp and timeout
Fredrik Wänglund
fredrik.wanglund at datavis.se
Wed Apr 30 12:07:23 CEST 2003
I'm trying to increase the timeout in check_snmp. According to the help
you should
be able to specify it with '-t', but the value is never used;
[nagios at nagios libexec]$ time ./check_snmp -H 10.20.30.40 -C abc -o 1.2
SNMP problem - No data recieved from host
CMD: /usr/bin/snmpget -m NONE -v 1 -c abc 10.20.30.40:161 1.2
real 0m6.017s
user 0m0.000s
sys 0m0.000s
[nagios at nagios libexec]$
[nagios at nagios libexec]$
[nagios at nagios libexec]$
[nagios at nagios libexec]$ time ./check_snmp -H 10.20.30.40 -C abc -o 1.2
-t 30
SNMP problem - No data recieved from host
CMD: /usr/bin/snmpget -m NONE -v 1 -c abc 10.20.30.40:161 1.2
real 0m6.018s
user 0m0.000s
sys 0m0.002s
[nagios at nagios libexec]$
I'm using NET-SNMP version: 5.0.1 and nagios-plugins-1.3.0 compiled from
source
/FredrikW
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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