SNMP trap config

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: SNMP trap config

Post 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
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Re: SNMP trap config

Post 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
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: SNMP trap config

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: SNMP trap config

Post by tmcdonald »

Bah, I never like leaving a thread on this note, but was there anything else we could help with from our end?
Former Nagios employee
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: SNMP trap config

Post by gormank »

Not on this one.
Thanks!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: SNMP trap config

Post by tmcdonald »

Alright then. I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked