Page 1 of 5
I would like to monitor the temp of my brocade bdr router
Posted: Mon Jul 09, 2012 1:47 pm
by benningtonr
I would like to monitor the temp of my brocade boarder router.
I can pull up the temps on the router, and when I use snmp walk in nagios, i get a bunch of integers, does anyone know the number integer for temps, or has anyone set this up before?
Re: I would like to monitor the temp of my brocade bdr route
Posted: Mon Jul 09, 2012 2:55 pm
by scottwilkerson
according to this document I found via google
http://www.filibeto.org/sun/lib/nonsun/ ... B_v610.pdf
The OID for the various sensors including Temp start at OID 1.3.6.1.4.1.1588.2.1.1.1.1.22
The couple pages following page 547 in the document above show what the values mean.
If you run a snmp walk and start at 1.3.6.1.4.1.1588.2.1.1.1.1.22 you should be able to find the correct value
Re: I would like to monitor the temp of my brocade bdr route
Posted: Mon Jul 30, 2012 1:20 pm
by benningtonr
Ok I have found what I bellieve are the correct mibs
check_xi_service_snmp! -o enterprises.1991.1.1.2.13.1.1.3.1.1 -C PUBLIC -P 2c -m SNMPv2-S
And I get the following
SNMP OK - "Line module 1, sensor 1 temperature"
Is there a way I can get the actual temp, not just ok?
also the line looks confusing
enterprises.1991.1.1.2.13.1.1.3.1.1 Ok 20d 1h 41m 47s 1/5 2012-07-30 14:16:16 SNMP OK - "Line module 1, sensor 1 temperature"
Is there anyway to change the beginning of this to read Line module 1, sensor 1?
Thanks
Re: I would like to monitor the temp of my brocade bdr route
Posted: Mon Jul 30, 2012 1:44 pm
by scottwilkerson
Usually in snmp there is one OID that is the description and another OID that is the value.. I believe you have the descriptions.
Sometimes walking from a couple oids back can help decipher what is the corresponding OID
Code: Select all
snmpwalk -v 2c -c PUBLIC <IP_ADDRESS> enterprises.1991.1.1.2.13.1.1.3
Re: I would like to monitor the temp of my brocade bdr route
Posted: Mon Jul 30, 2012 1:47 pm
by benningtonr
[root@nagios libexec]# snmpwalk -v 2c -c public 192.168.98.6 enterprises.1991.1.1.2.13.1.1.3
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.3.1.1 = STRING: "Line module 1, sensor 1 temperature"
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.3.1.2 = STRING: "Line module 1, sensor 2 temperature"
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.3.2.1 = STRING: "Line module 2, sensor 1 temperature"
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.3.2.2 = STRING: "Line module 2, sensor 2 temperature"
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.3.5.1 = STRING: "Active management module temperature"
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.3.5.2 = STRING: "Active management module temperature"
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.3.6.1 = STRING: "Standby management module temperature"
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.3.6.2 = STRING: "Standby management module temperature"
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.3.7.1 = STRING: "Switch Fabric module 0, sensor 1 temperature"
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.3.8.1 = STRING: "Switch Fabric module 1, sensor 1 temperature"
[root@nagios libexec]#
Re: I would like to monitor the temp of my brocade bdr route
Posted: Mon Jul 30, 2012 1:49 pm
by benningtonr
if I go back one more I get:
[root@nagios libexec]# snmpwalk -v 2c -c public 192.168.98.6 enterprises.1991.1.1.2.13.1.1
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.3.1.1 = STRING: "Line module 1, sensor 1 temperature"
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.3.1.2 = STRING: "Line module 1, sensor 2 temperature"
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.3.2.1 = STRING: "Line module 2, sensor 1 temperature"
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.3.2.2 = STRING: "Line module 2, sensor 2 temperature"
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.3.5.1 = STRING: "Active management module temperature"
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.3.5.2 = STRING: "Active management module temperature"
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.3.6.1 = STRING: "Standby management module temperature"
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.3.6.2 = STRING: "Standby management module temperature"
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.3.7.1 = STRING: "Switch Fabric module 0, sensor 1 temperature"
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.3.8.1 = STRING: "Switch Fabric module 1, sensor 1 temperature"
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.4.1.1 = INTEGER: 57
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.4.1.2 = INTEGER: 86
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.4.2.1 = INTEGER: 72
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.4.2.2 = INTEGER: 135
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.4.5.1 = INTEGER: 54
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.4.5.2 = INTEGER: 77
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.4.6.1 = INTEGER: 58
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.4.6.2 = INTEGER: 86
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.4.7.1 = INTEGER: 50
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.4.8.1 = INTEGER: 50
Re: I would like to monitor the temp of my brocade bdr route
Posted: Mon Jul 30, 2012 1:51 pm
by benningtonr
here are the actual readings:
--- TEMPERATURE READINGS ---
Active Mgmt Module: 27.0C 38.750C
Standby Mgmt Module: 29.0C 43.125C
SNM1: 25.5C
SNM2: 25.5C
SNM3: not present
LP1 Sensor1: 28.500C
LP1 Sensor2: 42.750C
LP2 Sensor1: 36.0C
LP2 Sensor2: 67.500C
Re: I would like to monitor the temp of my brocade bdr route
Posted: Mon Jul 30, 2012 2:47 pm
by slansing
Glad you got it figured out! Would you mind posting how you acquired the temperature readout for others who have a similar issue?
Re: I would like to monitor the temp of my brocade bdr route
Posted: Tue Jul 31, 2012 8:16 am
by benningtonr
Sorry, i did not get it figured out, the actual reading was to show the difference from what Nagios was reporting and what the actual router was reporting.
I still need help with this.
Re: I would like to monitor the temp of my brocade bdr route
Posted: Tue Jul 31, 2012 9:29 am
by nscott
Bennington,
Its going to help both of us out a lot if you can get your hands on the MIB for the OIDs you are looking for. Like this:
Code: Select all
SNMPv2-SMI::enterprises.1991.1.1.2.13.1.1.4.1.1 = INTEGER: 57
I have no idea what value that is suppose to represent, logically, it should have something to do with temperature, but without seeing what it translates too, its going to be a nightmare to debug. So I'd suggest you find the MIB for this device before troubleshooting the check any further.
A good place to find MIBs is
www.oidview.com/
Actually, here is the mib you're looking on this page:
http://www.snmplink.org/OnLineMIB/Brocade/index.html#29
What you need to do is grab the mib and put it in /usr/share/snmp/mibs/ folder. So you can just copy and post the whole thing into a file called /usr/share/snmp/mibs/FOUNDRY-SN-AGENT.mib if you like. Then do a walk down the tree again and everything should be translated into their actual metric names.