[Nagiosplug-help] check_snmp problem "No data received from host"

Sergio Belkin sebelk at gmail.com
Thu May 15 15:03:56 CEST 2008


Hi, I am a beginner in the nagios world, and I want to use check_snmp
plugin. But first I wanted to test in the command line, so I issued:

10.1.0.4 is IP address of one of a network switch.

/usr/lib64/nagios/plugins/check_snmp -H 10.1.0.4 -o 1.3.6.1.2.1.1.5.0
--community="soyou" -m /usr/share/snmp/mibs/RAPID-CITY.txt
--protocol=2c

it outputs:

SNMP problem - No data received from host
CMD: /usr/bin/snmpget -t 1 -r 5 -m /usr/share/snmp/mibs/RAPID-CITY.txt
-v 2c [authpriv] 10.1.0.4:161  1.3.6.1.2.1.1.5.0

Despite of this, snmp net-snmp-utils-5.3.1-19.el5_1.4 is installed,
and more, I can run:

/usr/bin/snmpget  -v1  10.1.0.4:161  1.3.6.1.2.1.1.5.0 -c "soyou" -m
/usr/share/snmp/mibs/RAPID-CITY.txt

and I get:

RFC1213-MIB::sysName.0 = STRING: "NiceSwitch-1"

Please, could you tell me what's wrong?

Thanks in advance!

-- 
--
Open Kairos http://www.openkairos.com
Watch More TV http://sebelk.blogspot.com
Sergio Belkin -




More information about the Help mailing list