check_snmp Strangeness
Jeff Rendl
jeff.rendl at ifsna.com
Wed Oct 30 23:56:42 CET 2002
My check_snmp appears to be sending the wrong command line to "snmpget". I
test the command from the libexec dir with the following:
[root at blah libexec]# ./check_snmp -H 192.168.1.1 -o sysUpTime.0 -C public
and it replies with:
SNMP problem - No data received from host
CMD: /usr/bin/snmpget -m ALL -v 1 192.168.1.1 public -c sysUpTime.0
Which is true because that command doesn't work with snmpget, the format
that works is:
snmpget -m ALL -v 1 192.168.1.1 -c public sysUpTime.0
If I modify the check_snmp request to:
[root at blah libexec]# ./check_snmp -H 192.168.1.1 -o sysUpTime.0 -C "-c
public"
It works.
Is there a way to change what check_snmp sends to snmpget?
Thanks,
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021030/6c98adc1/attachment.html>
More information about the Users
mailing list