12-23-2013 11:59 PM
Good Morning everyone !
I'm trying to create a poller to monitor Temperature trap of my cisco catalyst 2960 from Ciscoworks LMS 4.1.
I set up snmp trap on my device :
Switch(conf-t)# snmp-server host <@IP_server_LMS> SNMPv2c --I'm using SNMPv2c
Switch(conf-t)# snmp-server enable traps envmon temperature
I created a MIB Template Envmon with these variables :
- ciscoEnvMonTemperatureThreshold |
- ciscoEnvMonTemperatureStatusValue |
- ciscoEnvMonTemperatureState |
- ciscoEnvMonTemperatureLastShutdown |
I created a poller associate to my template, I add my device and when I click on "Next" I've got this error message :
###
No Instances are found in the devices. This could be because the device is unreachable, or the device does not have the instances for the selected templates, or the time out value is low.
###
Someone could explain me why I can't monitor MIB ?
Thank's for your consideration and happy Christmas for all !
Solved! Go to Solution.
12-27-2013 03:58 AM
It seems most of the 2960 doesn't have a temperature sensor implemented in the hardware and hence it is not showing values.
If a device doesnt shows anything on CLI, it is near to impossible it will show something via SNMP.
-Thanks
12-24-2013 10:00 PM
In LMS, following are the OIDs it uses for Env temperature, under System defined templates:
Template Name | MIB Variables Polled | Description |
---|
For the above error you see, you should try to poll your target device manually to see if it responds properly.
-Thanks
12-24-2013 10:05 PM
Moreover, with the configuration you have, the device will automatically send the Temperature Trap, when not normal. When you enable the Envmon Trap following Temperature trap is sent :
Old OS (Deprecated Trap)
|
New Trap in newer IOS :
Object | ciscoEnvMonTempStatusChangeNotif |
OID | 1.3.6.1.4.1.9.9.13.3.0.7 |
Status | current |
MIB | CISCO-ENVMON-MIB ; - View Supporting Images |
Trap Components | ciscoEnvMonTemperatureStatusDescr ciscoEnvMonTemperatureStatusValue ciscoEnvMonTemperatureState |
Description | "A ciscoEnvMonTempStatusChangeNotif is sent if there is change in the state of a device being monitored by ciscoEnvMonTemperatureState." |
The OIDs you are trying to select, will only poll device periodically and show output in return when you generate the report for this template.
-Thanks
12-26-2013 12:31 AM
Hi,
Thank's for your respons.
I debug snmp packet on my device and I show this when I create my temperature poller :
####
Switch# show log
036601: .Dec 26 09:22:04.190 Paris: SNMP: Packet sent via UDP to <@IP_Srv_LMS>
036602: .Dec 26 09:22:35.237 Paris: SNMP: Packet received via UDP from <@IP_Srv_LMS> on Vlan100
036603: .Dec 26 09:22:35.237 Paris: SNMP: Get-next request, reqid 5447344, errstat 0, erridx 0
ciscoEnvMonTemperatureStatusEntry.3 = NULL TYPE/VALUE
sysUpTime = NULL TYPE/VALUE
036604: .Dec 26 09:22:35.246 Paris: SNMP: Response, reqid 5447344, errstat 0, erridx 0
ciscoEnvMonFanStatusEntry.2.1004 = Switch#1, Fan#1
sysUpTime.0 = 322689439
036605: .Dec 26 09:22:35.254 Paris: SNMP: Packet sent via UDP to <@IP_Srv_LMS>
####
The IOS to my device is :
SW Version SW Image
---------- ----------
12.2(55)SE4 C2960-LANBASEK9-M
I verify on this link : http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml
The device have the envmon trap to his MIB.
When I do this cmd :
Switch#show env temperature status
Temperature Value: Not Supported
Temperature State: Not Supported
Why is not supported ?
Thank's
Cordially.
12-27-2013 12:25 AM
Hi !
I test OID with a software "OIDView Enterprise" to test snmp get to my 2960 device.
I download MIB Cisco (CISCO-ENVMON-MIB) that I import into the software and when I do a Get SNMP on the OID of temperature (1.3.6.1.4.1.9.9.13.1.3.1.3) for my 2960 device, the software return me the answer : NULL.
It's the same answer as my show log when I run a poller through Ciscoworks LMS 4.1.
And when I try on a 3750, the Get SNMP on the OID Temperature works. And I can monitor temperature to my 3750 on LMS.
It would say that the 2960 can not respond to SNMP query temperature ?
Is that it could come from the frame of the equipment ?
Thank's for all.
12-27-2013 03:58 AM
It seems most of the 2960 doesn't have a temperature sensor implemented in the hardware and hence it is not showing values.
If a device doesnt shows anything on CLI, it is near to impossible it will show something via SNMP.
-Thanks
12-27-2013 04:23 AM
Ok thank's !
I found a solution to monitor alarm temperature by using OID to CISCO-STACK-MIB >> chassisTempAlarm .
And it's works !
Thank's for all
12-27-2013 11:23 PM
Yes, it will work. Following is the values you'll see when you poll chassisTempAlarm:
1:off - when the device temperature is in normal range.
2:on - When the device's temperature is too high
3:Critical - When due to critical temperature system shut down is imminent
Just an additional information, may be helpful in future, some of the cisco's devices doesnt have temperature sensor and even doesnt work with the above OID, like ASA devices.
For those we can use cfwHardwareStatusValue from CISCO-FIREWALL-MIB which will return the value of 5 as overTemp.
-Thanks
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