<div dir="ltr">Package: nagios-plugins-standard<br>Version: 1.4.16-1<div><br></div><div>When I try to run check_snmp to collect data from remote systems:<br></div><div><br></div><div>./check_snmp -H 192.168.3.1 -C public -t 10 -o sysUpTime.0<br></div><div><br></div><div>It keeps waiting forever until I press CTRL+C to cancel.</div><div><br></div><div>After researching a little bit, I came to <a href="http://support.nagios.com/forum/viewtopic.php?f=7&t=8448">http://support.nagios.com/forum/viewtopic.php?f=7&t=8448</a> and tried by myself with the following results:</div><div><br></div><div><div>$ ./check_snmp -v -H 192.168.3.1 -C public -t 10 -o sysUpTime.0 &</div><div>[1] 3693</div><div>/usr/bin/snmpget -t 10 -r 5 -m ALL -v 1 [authpriv] <a href="http://192.168.3.1:161">192.168.3.1:161</a> sysUpTime.0</div><div><br></div><div>$ ps x<br></div><div>  PID TTY      STAT   TIME COMMAND</div><div> 3693 pts/1    S      0:00 ./check_snmp -v -H 192.168.3.1 -C public -t 10 -o sysUpTime.0</div><div> 3694 pts/1    S      0:00 /usr/bin/snmpget -t 10 -r 5 -m ALL -v 1 -c        <a href="http://192.168.3.1:161">192.168.3.1:161</a> sysUpTime.0</div><div><br></div><div>Notice the empty value for -c (community). </div><div><br></div><div>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.</div><div><br></div><div>Running snmpget by hand fails with:<br><br></div><div>$ /usr/bin/snmpget -t 10 -r 5 -m ALL -v 1 -c        <a href="http://192.168.3.1:161">192.168.3.1:161</a> sysUpTime.0</div><div><div>Missing object name</div><div>USAGE: snmpget [OPTIONS] AGENT OID [OID]...</div><div><br></div></div><div>And then prints the help.</div><div><br></div><div>snmp version (which provides snmpget) is 5.4.3~dfsg-2.8+deb7u1</div><div><br></div><div>Kernel version is 3.2.0-4-amd64 (3.2.60-1+deb7u3) and libc is 2.13-38+deb7u6</div><div><br></div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Julio González Gil<br>Mail: <a href="mailto:julio@juliogonzalez.es" target="_blank">julio@juliogonzalez.es</a><br>Website: <a href="http://www.juliogonzalez.es" target="_blank">http://www.juliogonzalez.es</a><br></div></div>
</div></div>