Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

CAT3750 Temperature via OID

Hello,

I have a 3750 that should support temperature readings (WS-C3750G-48TS). In fact through CLI I can get the exact temperature:

show env all

FAN is OK

TEMPERATURE is OK

Temperature Value: 40 Degree Celsius

Temperature State: GREEN

Yellow Threshold : 56 Degree Celsius

Red Threshold : 66 Degree Celsius

POWER is OK

RPS is NOT PRESENT

So it would seem that I should be able to read the temperature via SNMP. But the OID that I thought it was, returns nothing:

snmpget -v1 -cmystring myswitch 1.3.6.1.4.1.9.9.13.1.3.1.3

Error in packet

Reason: (noSuchName) There is no such variable name in this MIB.

Failed object: SNMPv2-SMI::enterprises.9.9.13.1.3.1.3

I read somewhere else that the OID might be different because these are stackable switches? Not sure if that is true?

2 ACCEPTED SOLUTIONS

Accepted Solutions
Red

Re: CAT3750 Temperature via OID

Try snmpwalk instead of snmpget and see if you have better success.

New Member

Re: CAT3750 Temperature via OID

It seems you are trying to retrieve this object.

CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusValue

This is a column in the table ciscoEnvMonTemperatureStatusTable. You need to append an index to the OID if you want to retrieve table entries. You can use the snmpwalk command or a free MIB browser such as Unbrowse or iReasoning to find out the index values.

7 REPLIES
Red

Re: CAT3750 Temperature via OID

Try snmpwalk instead of snmpget and see if you have better success.

New Member

Re: CAT3750 Temperature via OID

It seems you are trying to retrieve this object.

CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusValue

This is a column in the table ciscoEnvMonTemperatureStatusTable. You need to append an index to the OID if you want to retrieve table entries. You can use the snmpwalk command or a free MIB browser such as Unbrowse or iReasoning to find out the index values.

Re: CAT3750 Temperature via OID

Wow perfect thanks guys. SNMPWALK showed me the correct OID. Oddly, it is .1005. Not sure why?

snmpwalk -v1 -cmystring myswitch 1.3.6.1.4.1.9.9.13.1.3.1.3

SNMPv2-SMI::enterprises.9.9.13.1.3.1.3.1005 = Gauge32: 40

Any idea what it might be .1005? It does appear to be consistant for all my switches, so it'll work.

THANKS!!!

New Member

Re: CAT3750 Temperature via OID

Hi Thomas

Since its your master switch you're getting the temperature from, the 1005 number indicates that its switch number 1 which is the master..

I have a stack where switch 2 is the master, on that switch stack i need to poll the mib with .2005 at the end of the OID.

Re: CAT3750 Temperature via OID

Interesting, thanks!

New Member

Re: CAT3750 Temperature via OID

Hi there, do you know the default values (normal, warning, critical) of temperature for the this catalyst. What value is for default warning and critial. Thanks

Bronze

Re: CAT3750 Temperature via OID

You can see this via the "show env temp status" command.  Here's mine:

#show env temp status

Temperature Value: 28 Degree Celsius

Temperature State: GREEN

Yellow Threshold : 46 Degree Celsius

Red Threshold    : 60 Degree Celsius

Also, I created a Cacti template for graphing the temperature on a 3750 stack, if anyone's interested:

https://www.hightail.com/download/OGhjc2ZGSWhZY1FLSk1UQw

7794
Views
10
Helpful
7
Replies