• December 12, 2019, 05:41:36 PM
Welcome, Guest. Please login or register. Registration is free.
Did you miss your activation email?

Author Topic: Newbie SNMP problem: Fan failure alert on 5500 switch  (Read 13661 times)

0 Members and 1 Guest are viewing this topic.

Offline Peter Nguyen

  • Full Member
  • ***
  • Posts: 81
Newbie SNMP problem: Fan failure alert on 5500 switch
« on: May 13, 2011, 04:47:23 PM »
Hello,

Switch:  ERS-5500 SW 6.1

I am trying to set up a fan failure or high temperature notification for 5500 switch.  Using MIB Walk, I found the following OIDs:

1.3.6.1.4.1.45.1.6.3.3.1.1.5.5.10.0=Temperature Sensor
1.3.6.1.4.1.45.1.6.3.3.1.1.5.6.10.0=Internal Fan 1
1.3.6.1.4.1.45.1.6.3.3.1.1.5.6.11.0=Internal Fan 2
1.3.6.1.4.1.45.1.6.3.3.1.1.5.6.12.0=Internal Fan 3
1.3.6.1.4.1.45.1.6.3.3.1.1.5.6.13.0=Internal Fan 4

But when the “#show env” indicate fan 1 and 2 are fail, and temperature are rising, these MIBs did not show any changes, only the name “Internal Fan x” and “Temperature Sensor” return when query.
Any ideas?

Thank you!



Offline Michael McNamara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3841
    • michaelfmcnamara
    • Michael McNamara
Re: Newbie SNMP problem: Fan failure alert on 5500 switch
« Reply #1 on: May 13, 2011, 05:05:18 PM »
What value do they return? So your saying the SNMP OIDs are not return values that are consistent with the CLI output of show env.

Good Luck!
We've been helping network engineers, system administrators and technology professionals since June 2009.
If you've found this site useful or helpful, please help me spread the word. Link to us in your blog or homepage - Thanks!

Offline Peter Nguyen

  • Full Member
  • ***
  • Posts: 81
Re: Newbie SNMP problem: Fan failure alert on 5500 switch
« Reply #2 on: May 13, 2011, 05:21:40 PM »
Michael,

Exactly, I test the problem in the lab:
With Fan 1 plugs in, 1.3.6.1.4.1.45.1.6.3.3.1.1.5.6.10.0 returns “Internal Fan 1”
Sho env: FAN1 OK
With Fan 1 unplug,  1.3.6.1.4.1.45.1.6.3.3.1.1.5.6.10.0 returns “Internal Fan 1” no changes
Sho env: FAN1 FAIL

Thanks,
Peter

Offline Michael McNamara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3841
    • michaelfmcnamara
    • Michael McNamara
Re: Newbie SNMP problem: Fan failure alert on 5500 switch
« Reply #3 on: May 13, 2011, 05:23:36 PM »
I've got an ERS 5520 with a few failed fans at work... I'll test with those next week and get back to you.

Cheers!
We've been helping network engineers, system administrators and technology professionals since June 2009.
If you've found this site useful or helpful, please help me spread the word. Link to us in your blog or homepage - Thanks!

Offline brazenhead

  • Sr. Member
  • ****
  • Posts: 132
Re: Newbie SNMP problem: Fan failure alert on 5500 switch
« Reply #4 on: May 15, 2011, 11:52:01 AM »
Do an snmpwalk of the following OID and you will get the fan status: .1.3.6.1.4.1.45.1.6.3.3.1.1.10.6. The output below is a 4-unit stack:

S5-CHASSIS-MIB::s5ChasComOperState.6.10.0 = INTEGER: normal(5)
S5-CHASSIS-MIB::s5ChasComOperState.6.11.0 = INTEGER: normal(5)
S5-CHASSIS-MIB::s5ChasComOperState.6.12.0 = INTEGER: warning(8
S5-CHASSIS-MIB::s5ChasComOperState.6.13.0 = INTEGER: warning(8
S5-CHASSIS-MIB::s5ChasComOperState.6.20.0 = INTEGER: normal(5)
S5-CHASSIS-MIB::s5ChasComOperState.6.21.0 = INTEGER: normal(5)
S5-CHASSIS-MIB::s5ChasComOperState.6.22.0 = INTEGER: normal(5)
S5-CHASSIS-MIB::s5ChasComOperState.6.23.0 = INTEGER: normal(5)
S5-CHASSIS-MIB::s5ChasComOperState.6.30.0 = INTEGER: normal(5)
S5-CHASSIS-MIB::s5ChasComOperState.6.31.0 = INTEGER: normal(5)
S5-CHASSIS-MIB::s5ChasComOperState.6.32.0 = INTEGER: normal(5)
S5-CHASSIS-MIB::s5ChasComOperState.6.33.0 = INTEGER: normal(5)
S5-CHASSIS-MIB::s5ChasComOperState.6.40.0 = INTEGER: normal(5)
S5-CHASSIS-MIB::s5ChasComOperState.6.41.0 = INTEGER: normal(5)
S5-CHASSIS-MIB::s5ChasComOperState.6.42.0 = INTEGER: normal(5)
S5-CHASSIS-MIB::s5ChasComOperState.6.43.0 = INTEGER: normal(5)


the output above shows 2 'fans wih status = warning'  in Unit#1:

s5ChasComOperState.6.10.0 - .6.13.0 are 4-fans in unit 1
s5ChasComOperState.6.20.0 - .6.23.0 are 4-fans in unit 2
s5ChasComOperState.6.30.0 - .6.33.0 are 4-fans in unit 3
etc..

I think non-POE switches "Chassis Units" increment in units of 5 but I'll leave that to you to verify: i.e.:

s5ChasComOperState.6.5.0 - .6.8.0 are 4-fans in unit 1
s5ChasComOperState.6.10.0 - .6.13.0 are 4-fans in unit 2
s5ChasComOperState.6.15.0 - .6.18.0 are 4-fans in unit 3
etc ...
« Last Edit: May 15, 2011, 12:01:08 PM by brazenhead »

Offline brazenhead

  • Sr. Member
  • ****
  • Posts: 132
Re: Newbie SNMP problem: Fan failure alert on 5500 switch
« Reply #5 on: May 15, 2011, 11:57:46 AM »
Forgot to give you the temperature sensor OID: .1.3.6.1.4.1.45.1.6.3.7.1.1.5

A SNMPwalk of this OID produces something like this:

S5-CHASSIS-MIB::s5ChasTmpSnrTmpValue.5.10.0 = INTEGER: 92
S5-CHASSIS-MIB::s5ChasTmpSnrTmpValue.5.20.0 = INTEGER: 91
S5-CHASSIS-MIB::s5ChasTmpSnrTmpValue.5.30.0 = INTEGER: 91
S5-CHASSIS-MIB::s5ChasTmpSnrTmpValue.5.40.0 = INTEGER: 83

  DESCRIPTION  "The current temperature value of the temperature
                 sensor.  This is measured in units of a half degree
                 centigrade, e.g. a value of 121 indicates a temperature
                 of 60.5 degrees C."


Again, the above was for a 4-unit stack:

S5-CHASSIS-MIB::s5ChasTmpSnrTmpValue.5.10.0 = INTEGER: 92 <- unit #1
S5-CHASSIS-MIB::s5ChasTmpSnrTmpValue.5.20.0 = INTEGER: 91 <- unit #2
S5-CHASSIS-MIB::s5ChasTmpSnrTmpValue.5.30.0 = INTEGER: 91 <- unit #3
etc...

Offline brazenhead

  • Sr. Member
  • ****
  • Posts: 132
Re: Newbie SNMP problem: Fan failure alert on 5500 switch
« Reply #6 on: May 15, 2011, 12:00:17 PM »
One last explanation: the OID you were using 1.3.6.1.4.1.45.1.6.3.3.1.1.5.6.10.0 is:

 s5ChasComDescr OBJECT-TYPE
   -- FROM      S5-CHASSIS-MIB
   -- TEXTUAL CONVENTION DisplayString
   SYNTAX       OCTET STRING (0..64)
   MAX-ACCESS   read-only
   STATUS       mandatory
   DESCRIPTION  "A description of the component/sub-component.
                If not available, the value is a zero length
                string."


so it only returns the description of the component, not the value (i.e. it was the wrong OID)

Offline Peter Nguyen

  • Full Member
  • ***
  • Posts: 81
Re: Newbie SNMP problem: Fan failure alert on 5500 switch
« Reply #7 on: May 16, 2011, 10:01:30 AM »
Thank you very much brazenhead!

Offline Peter Nguyen

  • Full Member
  • ***
  • Posts: 81
Re: Newbie SNMP problem: Fan failure alert on 5500 switch
« Reply #8 on: May 16, 2011, 02:09:30 PM »
For any “snmp newerbie” the complete syntax Brazenhead talking above are:

For chassis temperature:
root@bt:~# snmpwalk  -c public -v 1 172.18.252.100 .1.3.6.1.4.1.45.1.6.3.7.1.1.5
SNMPv2-SMI::enterprises.45.1.6.3.7.1.1.5.5.10.0 = INTEGER: 72


For chassis fans:
root@bt:~# snmpwalk -c public -v 1 172.18.252.100 .1.3.6.1.4.1.45.1.6.3.3.1.1.10.6
SNMPv2-SMI::enterprises.45.1.6.3.3.1.1.10.6.10.0 = INTEGER: 5
SNMPv2-SMI::enterprises.45.1.6.3.3.1.1.10.6.11.0 = INTEGER: 5
SNMPv2-SMI::enterprises.45.1.6.3.3.1.1.10.6.12.0 = INTEGER: 8
SNMPv2-SMI::enterprises.45.1.6.3.3.1.1.10.6.13.0 = INTEGER: 8


For some of you know how to write script to do anything, even to walk your dog, it is very simple to write an alert.  For me, with SolarWinds, I created a “universal poller” to send alert when the value return 8 (fan failure).  For temperature the alert will send if the value is greater than 120.
Recently, my 5520 switch died very fast when two fans were fail and temperature raised above 120

Peter.

Offline eby83

  • Jr. Member
  • **
  • Posts: 35
Re: Newbie SNMP problem: Fan failure alert on 5500 switch
« Reply #9 on: August 27, 2013, 01:14:53 AM »
I've got an ERS 5520 with a few failed fans at work... I'll test with those next week and get back to you.

Cheers!

Sorry, I know this is a very old thread. I have a 5520 switch with 2 failed fans. I haven't been able to find any information about fan replacements. Is there a way to replace them or should we just replace the switch?

Thanks.


Offline novice

  • Rookie
  • **
  • Posts: 12
Re: Newbie SNMP problem: Fan failure alert on 5500 switch
« Reply #10 on: October 02, 2018, 11:01:57 AM »
I've got an ERS 5520 with a few failed fans at work... I'll test with those next week and get back to you.

Cheers!

Sorry, I know this is a very old thread. I have a 5520 switch with 2 failed fans. I haven't been able to find any information about fan replacements. Is there a way to replace them or should we just replace the switch?

Thanks.

Hi
Few fans failed on our 5510 previously. Unfortunately fans aren't hot swap. We had to open the casing, remove the failed fan, cut the wire in between fan (jumper type connector) and the fan itself, wire up new fan and use soldering tool. They are generic fans. You should be able to buy them online.
Although this is an old thread, there might be someone still running 5510 as we are in production environment. :)
« Last Edit: October 02, 2018, 11:17:54 AM by novice »

Offline novice

  • Rookie
  • **
  • Posts: 12

Offline TankII

  • Hero Member
  • *****
  • Posts: 556
Re: Newbie SNMP problem: Fan failure alert on 5500 switch
« Reply #12 on: October 16, 2018, 05:12:23 PM »
I'm monitoring these in WhatsUP Gold.  I had posted ALL my custom monitors years ago, then IpSwitch changed the platform.

Nutshell:
Any return value other than '5' is a fan down or degraded.  For any Fan MIB.

Try using GetIF, it's a useful tool.

Offline AVAGO

  • Full Member
  • ***
  • Posts: 64
Re: Newbie SNMP problem: Fan failure alert on 5500 switch
« Reply #13 on: December 19, 2018, 10:28:13 AM »