Can't get HP ProCurve MIBs working

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.
Locked
jbruyet
Posts: 235
Joined: Wed Dec 28, 2011 12:14 pm

Can't get HP ProCurve MIBs working

Post by jbruyet »

Hey all, I'm trying to monitor my ProCurve switches and I thought I had made progress but I haven't. Using the directions I found here:

http://blog.davidvassallo.me/2010/03/02 ... to-nagios/

I downloaded the MIB file for the ProCurve 2524 switch (it's my test switch for this project) and dumped all of the MIBs into a folder on my computer. I downloaded the iReasoning MIB Browser and loaded all of the MIBs into it, connected to the switch and then went search for a fan MIB. I found hpicFanState and thought I'd start there so I put the MIB, .1.3.6.1.4.1.11.2.14.11.5.1.54.2.1.1.4, in my switch.cfg file like so:

Code: Select all

# Monitor an HP Fan
define service{
        use                     generic-service
        host_name               OS-2524SrvRck
        service_description     Switch fan state
        check_command           check_snmp! -C public -o .1.3.6.1.4.1.11.2.14.11.5.1.54.2.1.1.4 -m all
        }
BUT, when I check my Nagios server I see this error:

Code: Select all

	
OS-2524SrvRck
	
Switch fan state
	
UNKNOWN 	12-31-2012 15:36:39 	0d 0h 9m 24s 	3/3 	External command error: Undefined OBJECT-GROUP (dot11PhyFHSSComplianceGroup): At line 2353 in /usr/share/snmp/mibs/ieee80211.mib 
I tried running the OID from SNMPGET too but I get this error:

Code: Select all

[root@link jobee]# snmpget -v 2c -c public 192.168.2.15 1.3.6.1.4.1.11.2.14.11.5.1.54.2.1.1.4
SNMPv2-SMI::enterprises.11.2.14.11.5.1.54.2.1.1.4 = No Such Object available on this agent at this OID
Is the problem with the OID or the syntax or something else?

Thanks,

Joe B
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Can't get HP ProCurve MIBs working

Post by jsmurphy »

Hey Joe,

Something about that oid string doesn't seem right, it's long... almost abnormally long. I don't have any pro-curves myself but I did find this: http://www.oidview.com/mibs/11/HP-ICF-OID.html

Which has the fan OID of this: 1.3.6.1.4.1.11.2.3.7.8.3.2 which seems a little more reasonable. Try doing an snmpget with that oid instead and see how you go.
jbruyet
Posts: 235
Joined: Wed Dec 28, 2011 12:14 pm

Re: Can't get HP ProCurve MIBs working

Post by jbruyet »

Hey jsmurphy, thanks for the OID but no joy:

Code: Select all

[root@link objects]# snmpget -v 2c -c public 192.168.2.15 1.3.6.1.4.1.11.2.3.7.8.3.2
SNMPv2-SMI::enterprises.11.2.3.7.8.3.2 = No Such Object available on this agent at this OID
I'll take a look at that web site and see if I can find something that works.

Thanks,

Joe B
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Can't get HP ProCurve MIBs working

Post by jsmurphy »

You could always do an snmpwalk on the top level and see what the oid tree looks like on the device:

snmpwalk -v 2c -c public 192.168.2.15 1.3.6.1.4.1.11
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Can't get HP ProCurve MIBs working

Post by scottwilkerson »

@jbruyet - Were you able to do the walk as jsmurphy suggested?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked