cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
27711
Views
6
Helpful
6
Replies

Use SNMP to monitor the power supply status of stacked switches

josephqiu
Level 1
Level 1

Does anybody know how to use SNMP to monitor the status of the internal power supplies of a group of stacked Cisco 3750 switches?

The switch stack has three 3750-48PS-E switches inter-connected by Cisco StackWise cable. IOS ver 12.1(19)EAlc. A single IP address is used to identify the switch stack. Every time I poll the OID chassisPs1Status (1.3.6.1.4.1.9.5.1.2.4.0 in CISCO-STACK-MIB), I only got the status for the Master switch of the switch stack. Is there any way to poll the power supply status of other switches in the switch stack?

Thanks a lot!

1 Accepted Solution

Accepted Solutions

krozier
Level 1
Level 1

Hi Joseph,

You are going to need to walk CISCO-ENVMON-MIB for the TEMP/PowerSupply/FAN status of 3750's in stacks. Here are some specific OID's:

1.3.6.1.4.1.9.9.13.1.4.1.2 ciscoEnvMonSupplyState

1.3.6.1.4.1.9.9.13.1.5.1.2 ciscoEnvMonSupplyStatusDescr

I have checked this in Solarwinds on my 3750 stack and it works perfectly. Hope this helps

Kersean Rozier

View solution in original post

6 Replies 6

rmushtaq
Level 8
Level 8

Without having individual ip add assigned to the stack switches, don't think you can poll them for the status.

krozier
Level 1
Level 1

Hi Joseph,

You are going to need to walk CISCO-ENVMON-MIB for the TEMP/PowerSupply/FAN status of 3750's in stacks. Here are some specific OID's:

1.3.6.1.4.1.9.9.13.1.4.1.2 ciscoEnvMonSupplyState

1.3.6.1.4.1.9.9.13.1.5.1.2 ciscoEnvMonSupplyStatusDescr

I have checked this in Solarwinds on my 3750 stack and it works perfectly. Hope this helps

Kersean Rozier

Hi Kersean

Your tip works!!!

The OIDs work for me are:

ciscoEnvMonSupplyStatusEntry.4.1003 --> switch #1 PS

ciscoEnvMonSupplyStatusEntry.4.2003 --> switch #2 PS

and so on...

Thank you so much!

I take it if you have 3 switches then the following is correct ?

ciscoEnvMonSupplyStatusEntry.4.1003 --> switch #1 PS

ciscoEnvMonSupplyStatusEntry.4.2003 --> switch #2 PS

ciscoEnvMonSupplyStatusEntry.4.3003 --> switch #3 PS

Yes, it's correct. You can have up to 9 switches in the stack.

Sorry to refresh such an old topic - but I am stuck with exactly this: Monitoring power supplies of a stacked Cisco Catalyst 3750-E.

I'm using the exact same OID's as described, but the problem is, the information shown on the SNMP output is not correct.

This morning, a power supply of the first switch failed and switched to RPS. Here the information I got on SNMP:

snmpwalk -v 2c -c public 192.168.1.50 1.3.6.1.4.1.9.9.13.1
SNMPv2-SMI::enterprises.9.9.13.1.1.0 = INTEGER: 13
SNMPv2-SMI::enterprises.9.9.13.1.3.1.2.1006 = STRING: "SW#1, Sensor#1, GREEN "
SNMPv2-SMI::enterprises.9.9.13.1.3.1.2.2006 = STRING: "SW#2, Sensor#1, GREEN "
SNMPv2-SMI::enterprises.9.9.13.1.3.1.3.1006 = Gauge32: 41
SNMPv2-SMI::enterprises.9.9.13.1.3.1.3.2006 = Gauge32: 40
SNMPv2-SMI::enterprises.9.9.13.1.3.1.4.1006 = INTEGER: 59
SNMPv2-SMI::enterprises.9.9.13.1.3.1.4.2006 = INTEGER: 59
SNMPv2-SMI::enterprises.9.9.13.1.3.1.5.1006 = INTEGER: 0
SNMPv2-SMI::enterprises.9.9.13.1.3.1.5.2006 = INTEGER: 0
SNMPv2-SMI::enterprises.9.9.13.1.3.1.6.1006 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.13.1.3.1.6.2006 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.13.1.4.1.2.1060 = STRING: "Switch#1, Fan#1"
SNMPv2-SMI::enterprises.9.9.13.1.4.1.2.2059 = STRING: "Switch#2, Fan#1"
SNMPv2-SMI::enterprises.9.9.13.1.4.1.3.1060 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.13.1.4.1.3.2059 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.13.1.5.1.2.1059 = STRING: "Sw1, PS1 Normal, RPS NotExist"
SNMPv2-SMI::enterprises.9.9.13.1.5.1.2.2060 = STRING: "Sw2, PS1 Normal, RPS NotExist"
SNMPv2-SMI::enterprises.9.9.13.1.5.1.3.1059 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.13.1.5.1.3.2060 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.13.1.5.1.4.1059 = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.13.1.5.1.4.2060 = INTEGER: 2

As you see, both PS1 (for both switches) are appearing normal. It doesn't even recognize RPS:

SNMPv2-SMI::enterprises.9.9.13.1.5.1.2.1059 = STRING: "Sw1, PS1 Normal, RPS NotExist"
SNMPv2-SMI::enterprises.9.9.13.1.5.1.2.2060 = STRING: "Sw2, PS1 Normal, RPS NotExist"

The first switch's power supply died and now the cable is disconnected. LED's of the power supply are out. And still: The switch happily announces by SNMP it's power supplies are up.

Is this a known bug? If yes, has it been fixed?

Model  WS-C3750E-48TD

Firmware 12.2(37)SE1

Review Cisco Networking for a $25 gift card