I would like to monitor the temp of my brocade bdr router
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
I would like to monitor the temp of my brocade bdr router
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?
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?
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: I would like to monitor the temp of my brocade bdr route
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
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
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: I would like to monitor the temp of my brocade bdr route
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
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
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: I would like to monitor the temp of my brocade bdr route
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
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-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: I would like to monitor the temp of my brocade bdr route
[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]#
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]#
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: I would like to monitor the temp of my brocade bdr route
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
[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
Last edited by benningtonr on Mon Jul 30, 2012 1:57 pm, edited 1 time in total.
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: I would like to monitor the temp of my brocade bdr route
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
--- 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
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: I would like to monitor the temp of my brocade bdr route
Glad you got it figured out! Would you mind posting how you acquired the temperature readout for others who have a similar issue?
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: I would like to monitor the temp of my brocade bdr route
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.
I still need help with this.
Re: I would like to monitor the temp of my brocade bdr route
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:
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.
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: 57A 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.
Nicholas Scott
Former Nagios employee
Former Nagios employee