check_snmp nagios

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
alexprinou
Posts: 23
Joined: Sat Apr 18, 2015 9:06 am

Re: check_snmp nagios

Post 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
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: check_snmp nagios

Post 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?
alexprinou
Posts: 23
Joined: Sat Apr 18, 2015 9:06 am

Re: check_snmp nagios

Post 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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_snmp nagios

Post 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?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked