Page 2 of 2

Re: check_snmp nagios

Posted: Fri Sep 25, 2015 2:46 pm
by alexprinou
if that was the problem in the Linux snmpwalk persist the error. I will check more someone has another tip?

command:
snmpwalk -m Aidu-MIB -On -v -c 1 publicceragon 172.16.254.2 genEquipPmRfuCommonSL15minMinRsl

return:

.1.3.6.1.4.1.2281.10.6.1.1.1.1.4.1 = Integer: -56
.1.3.6.1.4.1.2281.10.6.1.1.1.1.4.2 = Integer: -56
.1.3.6.1.4.1.2281.10.6.1.1.1.1.4.3 = Integer: -56
.1.3.6.1.4.1.2281.10.6.1.1.1.1.4.4 = Integer: -56
.1.3.6.1.4.1.2281.10.6.1.1.1.1.4.5 = Integer: -56
.1.3.6.1.4.1.2281.10.6.1.1.1.1.4.6 = Integer: -56

Re: check_snmp nagios

Posted: Mon Sep 28, 2015 11:16 am
by ssax
Please try this command:

Code: Select all

/usr/local/nagios/libexec/check_snmp -C publiceragon -H 172.16.254.2 -o iso.3.6.1.4.1.2281.1.7.2.1 -m AIDU-MIB -P 1 -M +/usr/share/MIBs:/usr/share/MIBs/ietf:/usr/share/MIBs/iana
I'm not seeing that OID (iso.3.6.1.4.1.2281.1.7.2.1), are you sure it's a valid OID?

Re: check_snmp nagios

Posted: Tue Sep 29, 2015 8:04 am
by alexprinou
error continues

command:
nagios: ~ # / usr / local / nagios / libexec / check_snmp -C publiceragon -H 172.16.254.2 -o iso.3.6.1.4.1.2281.1.7.2.1 -m Aidu-MIB -P 1 -m + / usr / share / MIBs: / usr / share / MIBs / ietf: / usr / share / MIBs / iana
External command error: Timeout: No Response from 172.16.254.2:161.
nagios: ~ #

any tips?

Re: check_snmp nagios

Posted: Tue Sep 29, 2015 2:04 pm
by scottwilkerson
alexprinou wrote:error continues

command:
nagios: ~ # / usr / local / nagios / libexec / check_snmp -C publiceragon -H 172.16.254.2 -o iso.3.6.1.4.1.2281.1.7.2.1 -m Aidu-MIB -P 1 -m + / usr / share / MIBs: / usr / share / MIBs / ietf: / usr / share / MIBs / iana
External command error: Timeout: No Response from 172.16.254.2:161.
nagios: ~ #

any tips?
This error looks like your server at 172.16.254.2 is not returning the data. Are you sure the service is accessible? That the community string has access to this OID?