Page 7 of 7

Re: SNMP trap config

Posted: Fri Oct 16, 2015 3:02 pm
by gormank
What I'm looking for is hardware status, which is why I'm looking at the hardware specific MIB. Generic MIBs/OIDs don't typically have that info as far as I know.

# snmpwalk -t 300 -v 2c -Cc -m ALL -c sp1der txslm2m3prf001 1.3.6.1.4.1
SNMPv2-SMI::enterprises = No Such Instance currently exists at this OID

# snmpwalk -t 300 -v 2c -Cc -m ALL -c sp1der txslm2m3prf001 .1.3.6.1.2.1.1.1.0
SNMPv2-MIB::sysDescr.0 = STRING: HP_3PAR 7450, ID: 44251, Serial number: 1644251, InForm OS version: 3.2.1 (MU3)

# snmpwalk -t 300 -v 2c -Cc -On -c sp1der txslm2m3prf001 SNMPv2-MIB::sysObjectID
.1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.12925.1

# snmpwalk -t 300 -v 2c -Cc -On -c sp1der txslm2m3prf001 | wc -l
237

# snmpwalk -t 300 -v 2c -Cc -On -c sp1der txslm2m3prf001 | head
.1.3.6.1.2.1.1.1.0 = STRING: HP_3PAR 7450, ID: 44251, Serial number: 1644251, InForm OS version: 3.2.1 (MU3)
.1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.12925.1
.1.3.6.1.2.1.1.3.0 = Timeticks: (72719400) 8 days, 9:59:54.00
.1.3.6.1.2.1.1.4.0 = STRING:
.1.3.6.1.2.1.1.5.0 = STRING: TXSLM2M3PRF001
.1.3.6.1.2.1.1.6.0 = STRING:
.1.3.6.1.2.1.1.7.0 = INTEGER: 72
.1.3.6.1.2.1.1.8.0 = Timeticks: (1) 0:00:00.01
.1.3.6.1.2.1.1.9.1.2.1 = OID: .1.3.6.1.4.1
.1.3.6.1.2.1.1.9.1.3.1 = STRING: Agent-Config-Mib

Re: SNMP trap config

Posted: Fri Oct 16, 2015 4:21 pm
by SteveBeauchemin
Some dude out there has a blog going in the 3par stuff.

http://3pardude.com/2015/02/17/3par-snmp/

Really, a 3par dude... LOL

Anyway, there is something about enabling SMI that is not on by default. You will not get hardware stuff unless that is on.

also did you see this?
https://exchange.nagios.org/directory/P ... pt/details

Worth a look maybe?

Steve B

Re: SNMP trap config

Posted: Fri Oct 16, 2015 5:02 pm
by gormank
Yep, I've been all over the 3pardude site and have set up check_3par.
SMI is enabled.

According to HP's 3par documentation, I should be able to set, get, getnext, and getbulk on the 3par. Maybe it doesn't offer getable values in the 3par MIB. I do get a lot of cryptic traps. Maybe I'll persue the meaning of the traps and write a trap handler. There are far more traps than what check_3par reports on, which is no surprise. I expect I'll be writing something to pull data via ssh since I need some performance data...

Oh well, thanks for all the help.

Re: SNMP trap config

Posted: Mon Oct 19, 2015 1:37 pm
by tmcdonald
Bah, I never like leaving a thread on this note, but was there anything else we could help with from our end?

Re: SNMP trap config

Posted: Mon Oct 19, 2015 4:08 pm
by gormank
Not on this one.
Thanks!

Re: SNMP trap config

Posted: Mon Oct 19, 2015 4:10 pm
by tmcdonald
Alright then. I'll be closing this thread now, but feel free to open another if you need anything in the future!