Does anyone know from experience if there is a way to set SNMP traps to send temperature information?
We are using this command on our 4507s to monitor Power Supply status & Temperature
"snmp-server enable traps envmon fan shutdown supply temperature status"
Hope this helps.
We are basically using it to send traps incase one of the power supply goes down from current dual supply. You can get detail info from this Cisco link
I have tested it by removing power from 1 supply and I got the snmp trap on HP Openview but I have not tested it for tempreture threshold yet.
The switch sends the SNMP ciscoEnvMonTemperatureStatusDescr=Module [no] message as a notification that the temperature that is measured at a given test point is outside the normal range for the test point. The range can be in one of these stages:
The current status range option in the SNMP notification trap specifies in which of these three ranges of temperature the module lies. The check duration option in the SNMP notification trap specifies the time duration for which the temperature of the switch is above the normal range.
If the current status of the temperature at the test point of the module is at the shutdown stage, the switch automatically shuts down the module. The ciscoEnvMonTemperatureStatusDescr = module[no] messages are informational messages.
The suggested workaround to avoid unexpected issues is to ensure that the temperature around the switch is kept within the operational standards that the Module Specifications specify. See the Output of the show environment temperature Command Through the CLI section of this document in order to make this temperature determination. Also, be sure that the internal fans in the switch work normally.
You can configure snmp traps to different levels as stated above and for example, you can use this string: ciscoEnvMonTemperatureStatusDescr=Module [no] , to send and then configure the alerts in rsyslog for example. Never tried though it can be done.
On the pages Nuno sent, I guess the outputs that show a big "C" after the numbers could mean "hundreds of degrees Fahrenheit", but my bet is that it means Celcius. :-)
Interesting, yeah those look like thresholds, but when I type the show command it doesn't show that information, this is what mine looks like:
6500#show environment temperature
VTT 1 outlet temperature: 32C
VTT 2 outlet temperature: 28C
VTT 3 outlet temperature: 28C
module 1 outlet temperature: 26C
module 1 inlet temperature: 27C
module 1 device-1 temperature: 25C
module 1 device-2 temperature: 30C
module 2 outlet temperature: 28C
module 2 inlet temperature: 26C
module 3 outlet temperature: 28C
module 3 inlet temperature: 26C
module 4 outlet temperature: 28C
module 4 inlet temperature: 26C
module 5 outlet temperature: 28C
module 5 inlet temperature: 27C
module 6 outlet temperature: 40C
module 6 inlet temperature: 26C
module 6 device-1 temperature: 31C
module 6 device-2 temperature: 33C
module 6 asic-1 temperature: 59C
module 6 asic-3 temperature: 44C
module 6 asic-4 temperature: 54C
module 6 RP outlet temperature: 30C
module 6 RP inlet temperature: 30C
module 6 EARL outlet temperature: 33C
module 6 EARL inlet temperature: 27C
What configuration did you need to do on the 6500, and what did you have to configure on CACTI?
We use Cacti as one of our backup tools here, also... good open source tool...