I would like to monitor the temp of my brocade bdr router

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: I would like to monitor the temp of my brocade bdr route

Post by benningtonr »

ok, i created this file:
/usr/share/snmp/mibs/FOUNDRY-SN-AGENT.mib

and put this in it:

snChasActualTemperature OBJECT-TYPE
SYNTAX INTEGER (-110..250)
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Temperature of the chassis. Each unit is 0.5 degrees Celcius.
Only management module built with temperature sensor hardware
is applicable. For those non-applicable management module, it
returns no-such-name."
::= { snChasGen 18 }


I am way out of my element here, so was this correct?
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: I would like to monitor the temp of my brocade bdr route

Post by nscott »

You are close. You must copy the entirety of the text in the MIB into that file.
Nicholas Scott
Former Nagios employee
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: I would like to monitor the temp of my brocade bdr route

Post by benningtonr »

ok, I followed your link and from the info in the right pane i took everything from:
FOUNDRY-SN-AGENT-MIB DEFINITIONS ::= BEGIN

to the last line:
END

and pasted it into the file mentioned before.
Is that correct?
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: I would like to monitor the temp of my brocade bdr route

Post by nscott »

Yes, it should work, do the numeric OIDs change to text ones when you do an SNMP walk?
Nicholas Scott
Former Nagios employee
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: I would like to monitor the temp of my brocade bdr route

Post by benningtonr »

no, i am using enterprises.1991.1.1.2.13.1.1.3.1.1 as the top level
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: I would like to monitor the temp of my brocade bdr route

Post by benningtonr »

here is the output using enterprises.1991.1.1.2.13.1.1.3 as the top level
You do not have the required permissions to view the files attached to this post.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: I would like to monitor the temp of my brocade bdr route

Post by nscott »

Could you run the following on the command line?

snmpwalk <Brocade Address> -c <community string> -v2c enterprises.1991.1.1.2.13.1.1.3
Nicholas Scott
Former Nagios employee
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: I would like to monitor the temp of my brocade bdr route

Post by benningtonr »

[root@nagios libexec]# snmpwalk 192.168.98.6 -c public -v2c 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"
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: I would like to monitor the temp of my brocade bdr route

Post by benningtonr »

Any other ideas?
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: I would like to monitor the temp of my brocade bdr route

Post by nscott »

It looks like the MIB isn't getting picked up, can you try doing an SNMP walk down

snmpwalk 192.168.98.6 -c public -v2c FOUNDRY-SN-AGENT-MIB

and

snmpwalk 192.168.98.6 -c public -v2c FOUNDRY-SN-AGENT

Do any of these return any values, and please post the error codes for them.
Nicholas Scott
Former Nagios employee
Locked