09-25-2006 02:16 PM
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?
Solved! Go to Solution.
09-25-2006 03:38 PM
Try snmpwalk instead of snmpget and see if you have better success.
09-26-2006 03:03 AM
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.
09-25-2006 03:38 PM
Try snmpwalk instead of snmpget and see if you have better success.
09-26-2006 03:03 AM
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.
09-26-2006 05:07 AM
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!!!
08-21-2008 04:14 AM
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.
08-21-2008 04:53 AM
Interesting, thanks!
01-30-2009 04:57 AM
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
11-19-2013 11:21 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide