Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Ciscoworks LMS 4.1 Monitor Temperature

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 !

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Ciscoworks LMS 4.1 Monitor Temperature

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

-Thanks Vinod **Rating Encourages contributors, and its really free. **
7 REPLIES
Cisco Employee

Ciscoworks LMS 4.1 Monitor Temperature

In LMS, following are the OIDs it uses for Env temperature, under System defined templates:

Template Name

MIB Variables Polled

Description

Environmental Temperature

Primary Set:
ciscoEnvMonTemperatureStatusIndex (1.3.6.1.4.1.9.9.13.1.3.1.1)
ciscoEnvMonTemperatureStatusDescr (1.3.6.1.4.1.9.9.13.1.3.1.2)
ciscoEnvMonTemperatureStatusValue (1.3.6.1.4.1.9.9.13.1.3.1.3)

Monitors the environmental temperature in a device.

For the above error you see, you should try to poll your target device manually to see if it responds properly.

-Thanks

-Thanks Vinod **Rating Encourages contributors, and its really free. **
Cisco Employee

Ciscoworks LMS 4.1 Monitor Temperature

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)

ObjectciscoEnvMonTemperatureNotification
OID1.3.6.1.4.1.9.9.13.3.0.3
Statusdeprecated
MIBCISCO-ENVMON-MIB ;   -   View Supporting Images this link will generate a new window
Trap ComponentsciscoEnvMonTemperatureStatusDescr
ciscoEnvMonTemperatureStatusValue
ciscoEnvMonTemperatureState
Description"A ciscoEnvMonTemperatureNotification is sent if the
temperature measured at a given testpoint is outside
the normal range for the testpoint (i.e. is at the warning,
critical, or shutdown stage). Since such a Notification
is usually generated before the shutdown state is reached,
it can convey more data and has a better chance of being
sent than does the ciscoEnvMonShutdownNotification.
This notification is deprecated in favour of
ciscoEnvMonTempStatusChangeNotif."

New Trap in newer IOS :

ObjectciscoEnvMonTempStatusChangeNotif
OID1.3.6.1.4.1.9.9.13.3.0.7
Statuscurrent
MIBCISCO-ENVMON-MIB ;   -   View Supporting Images this link will generate a new window
Trap ComponentsciscoEnvMonTemperatureStatusDescr
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

-Thanks Vinod **Rating Encourages contributors, and its really free. **
New Member

Re: Ciscoworks LMS 4.1 Monitor Temperature

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.

New Member

Re: Ciscoworks LMS 4.1 Monitor Temperature

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.

Cisco Employee

Re: Ciscoworks LMS 4.1 Monitor Temperature

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

-Thanks Vinod **Rating Encourages contributors, and its really free. **
New Member

Re: Ciscoworks LMS 4.1 Monitor Temperature

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

Cisco Employee

Ciscoworks LMS 4.1 Monitor Temperature

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

-Thanks Vinod **Rating Encourages contributors, and its really free. **
1192
Views
0
Helpful
7
Replies
CreatePlease to create content