Package: nagios-plugins-standard Version: 1.4.16-1 When I try to run check_snmp to collect data from remote systems:
./check_snmp -H 192.168.3.1 -C public -t 10 -o sysUpTime.0 It keeps waiting forever until I press CTRL+C to cancel. After researching a little bit, I came to http://support.nagios.com/forum/viewtopic.php?f=7&t=8448 and tried by myself with the following results: $ ./check_snmp -v -H 192.168.3.1 -C public -t 10 -o sysUpTime.0 & [1] 3693 /usr/bin/snmpget -t 10 -r 5 -m ALL -v 1 [authpriv] 192.168.3.1:161 sysUpTime.0 $ ps x PID TTY STAT TIME COMMAND 3693 pts/1 S 0:00 ./check_snmp -v -H 192.168.3.1 -C public -t 10 -o sysUpTime.0 3694 pts/1 S 0:00 /usr/bin/snmpget -t 10 -r 5 -m ALL -v 1 -c 192.168.3.1:161 sysUpTime.0 Notice the empty value for -c (community). This his happening to me at Debian 7.7 amd64. In case it is of interest: this also happening with Raspbian 7.6 which is using the same nagios-plugins-standard version, but not at current Debian SID amd64 which uses nagios-plugins-standard 2.0-2. Running snmpget by hand fails with: $ /usr/bin/snmpget -t 10 -r 5 -m ALL -v 1 -c 192.168.3.1:161 sysUpTime.0 Missing object name USAGE: snmpget [OPTIONS] AGENT OID [OID]... And then prints the help. snmp version (which provides snmpget) is 5.4.3~dfsg-2.8+deb7u1 Kernel version is 3.2.0-4-amd64 (3.2.60-1+deb7u3) and libc is 2.13-38+deb7u6 -- Julio González Gil Mail: ju...@juliogonzalez.es Website: http://www.juliogonzalez.es