How to find out catalyst 2950 current temperature

Unanswered Question
Collin Clark Mon, 08/17/2009 - 09:13
User Badges:
  • Purple, 4500 points or more

Edison-


That works on most devices, but not the 2950's.

Lucien Avramov Mon, 08/17/2009 - 09:09
User Badges:
  • Red, 2250 points or more

Is there a show envmon temp command?


If not supported on that device, please use SNMP as a workaround here is how:


First use the following mib object to get the snmp index no. for each

chassis type..

.1.3.6.1.4.1.9.9.13.1.3.1.2

ciscoEnvMonTemperatureStatusDescr OBJECT-TYPE

-- FROM CISCO-ENVMON-MIB

-- TEXTUAL CONVENTION DisplayString

SYNTAX OCTET STRING (0..32)

DISPLAY-HINT "255a"

MAX-ACCESS read-only

STATUS Current

DESCRIPTION "Textual description of the testpoint being

instrumented.

This description is a short textual label, suitable as a

human-sensible identification for the rest of the

information in the entry."

Example:

> snmpwalk -c public 172.16.99.1

.1.3.6.1.4.1.9.9.13.1.3.1.2

SNMPv2-SMI::enterprises.9.9.13.1.3.1.2.1 = STRING: "chassis inlet"

SNMPv2-SMI::enterprises.9.9.13.1.3.1.2.2 = STRING: "chassis outlet 1"

SNMPv2-SMI::enterprises.9.9.13.1.3.1.2.3 = STRING: "chassis outlet 2"

SNMPv2-SMI::enterprises.9.9.13.1.3.1.2.4 = STRING: "chassis outlet 3"

The last no. in the oid above is the snmp index no. So as you can see

above, that for chassis outlet

3, the snmp index no. is 4.

Now we have to use the following mib object to get the tempearture . You

will append 4 the the

following object if you only want to get the temperature for outlet 3.

1.3.6.1.4.1.9.9.13.1.3.1.3

ciscoEnvMonTemperatureStatusValue OBJECT-TYPE

-- FROM CISCO-ENVMON-MIB

SYNTAX Gauge

MAX-ACCESS read-only

STATUS Current

DESCRIPTION "The current measurement of the testpoint being

instrumented."

Now using ucd-snmp, if I poll the router with indexes 1, 2 , 3 and 4, I

would get the temps as show

in the above command.

> snmpwalk -c public 172.16.99.1

.1.3.6.1.4.1.9.9.13.1.3.1.3.1

SNMPv2-SMI::enterprises.9.9.13.1.3.1.3.1 = Gauge32: 25

> snmpwalk -c public 172.16.99.1

.1.3.6.1.4.1.9.9.13.1.3.1.3.2

SNMPv2-SMI::enterprises.9.9.13.1.3.1.3.2 = Gauge32: 28

>snmpwalk -c public 172.16.99.1

.1.3.6.1.4.1.9.9.13.1.3.1.3.3

SNMPv2-SMI::enterprises.9.9.13.1.3.1.3.3 = Gauge32: 34

> snmpwalk -c public 172.16.99.1

.1.3.6.1.4.1.9.9.13.1.3.1.3.4

SNMPv2-SMI::enterprises.9.9.13.1.3.1.3.4 = Gauge32: 37

Last one with index 4 is the chassis outlet 3.

Leo Laohoo Mon, 08/17/2009 - 14:22
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

Hi Joseph,


The only way to find out via CLI if the appliance temperature is good or not is to use the sh environment alarm command.


Please note, depending on the version of IOS you are using, can have some reporting errors caused by IOS bugs. I'm using the final version, EA13 and it's worked out well for me.


Hope this helps.

Actions

This Discussion