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?
I would like to monitor the temp of my brocade bdr router
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: I would like to monitor the temp of my brocade bdr route
You are close. You must copy the entirety of the text in the MIB into that file.
Nicholas Scott
Former Nagios employee
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
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?
FOUNDRY-SN-AGENT-MIB DEFINITIONS ::= BEGIN
to the last line:
END
and pasted it into the file mentioned before.
Is that correct?
Re: I would like to monitor the temp of my brocade bdr route
Yes, it should work, do the numeric OIDs change to text ones when you do an SNMP walk?
Nicholas Scott
Former Nagios employee
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
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
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.
Re: I would like to monitor the temp of my brocade bdr route
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
snmpwalk <Brocade Address> -c <community string> -v2c enterprises.1991.1.1.2.13.1.1.3
Nicholas Scott
Former Nagios employee
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
[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"
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
Any other ideas?
Re: I would like to monitor the temp of my brocade bdr route
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.
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
Former Nagios employee