cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3900
Views
5
Helpful
3
Replies

Cisco Temperature Monitor

Arshad Khan
Level 1
Level 1

Hi,

I am using Cisco 3750,3560,2960 and 1800 Series routers in my network. I want to see temperature graph of said equipment on NMS (OP Manager).

Kindly let me know that these devices support such snmp traps ? and how i see these devices temperature information on NMS.

Regards,

Arshad Ahmed

3 Replies 3

Marvin Rhoads
Hall of Fame
Hall of Fame

You can set up your devices to send SNMP traps upon environmental monitor thresholds being exceeded. See the document here and refer specifically to the "envmon" details.

To generate a graph, you would typically be initiating SNMP queries ("get") from the NMS as opposed to the devices sending traps. To do that you would need to query the appropriate SNMP OIDs on the target devices. This would be via the speicifics of your NMS, usually combined with downlaoding and integrating the appropriate CIsco MIB(s). In this case, you would need CISCO-ENVMON-MIB, found here, and any prerequisites.

Hope this helps.

Hey marvin,

I have load entire CISCO-ENVMON-MIB but enable to find  temperature OID from in, when i run walk in mib tree i have found FAN  OID, Supply OLD but enable to find temperature OID.

Regards,

Arshad Ahmed

Please refer to, for example, the entries listed at the bottom of this post taken from the envmon MIB (full MIB at link I posted earlier).

I also confirmed a 3560, for example, will reporte its temperature via SNMP. The attached screenshot shows CiscoWorks LMS reporting a 3560G-24TS temperature graph (function similar to what you want to do with 3rd party NMS):

If you want to query directly from cli, that can be done as well. For instance:

C:\Program Files (x86)\CSCOpx\objects\jt\bin>snmpwalk -c [community_string] -O s -v 2c [device_adress] 1.3.6.1.4.1.9.9.13.1.3.1.3

iso.3.6.1.4.1.9.9.13.1.3.1.3.1005 = Gauge32: 40

Tells me the Cisco 3560 device queried in the screenshot above has a temperature of 40 degrees C.

I got the OID values to translate the entries below into numeric form used in the CLI query above from this table.

ciscoEnvMonTemperatureStatusTable OBJECT-TYPE
        SYNTAX     SEQUENCE OF CiscoEnvMonTemperatureStatusEntry
        MAX-ACCESS not-accessible
        STATUS     current
        DESCRIPTION
                "The table of ambient temperature status maintained by the
                environmental monitor."
        ::= { ciscoEnvMonObjects 3 }

ciscoEnvMonTemperatureStatusEntry OBJECT-TYPE
        SYNTAX     CiscoEnvMonTemperatureStatusEntry
        MAX-ACCESS not-accessible
        STATUS     current
        DESCRIPTION
                "An entry in the ambient temperature status table, representing
                the status of the associated testpoint maintained by the
                environmental monitor."
        INDEX      { ciscoEnvMonTemperatureStatusIndex }
        ::= { ciscoEnvMonTemperatureStatusTable 1 }

CiscoEnvMonTemperatureStatusEntry ::=
        SEQUENCE {
                ciscoEnvMonTemperatureStatusIndex       Integer32,
                ciscoEnvMonTemperatureStatusDescr       DisplayString,
                ciscoEnvMonTemperatureStatusValue       Gauge32,
                ciscoEnvMonTemperatureThreshold         Integer32,
                ciscoEnvMonTemperatureLastShutdown      Integer32,
                ciscoEnvMonTemperatureState             CiscoEnvMonState
        }


ciscoEnvMonTemperatureStatusIndex OBJECT-TYPE
        SYNTAX     Integer32 (0..2147483647)
        MAX-ACCESS not-accessible
        STATUS     current
        DESCRIPTION
                "Unique index for the testpoint being instrumented.
                This index is for SNMP purposes only, and has no
                intrinsic meaning."
        ::= { ciscoEnvMonTemperatureStatusEntry 1 }

ciscoEnvMonTemperatureStatusDescr OBJECT-TYPE
        SYNTAX     DisplayString (SIZE (0..32))
        MAX-ACCESS read-only
        STATUS     current
        DESCRIPTION
                "Textual description of the testpoint being instrumented.
                This description is a short textual label, suitable as a
                human-sensible identification for the rest of the
                information in the entry."
        ::= { ciscoEnvMonTemperatureStatusEntry 2 }

ciscoEnvMonTemperatureStatusValue OBJECT-TYPE
        SYNTAX     Gauge32
        UNITS      "degrees Celsius"
        MAX-ACCESS read-only
        STATUS     current
        DESCRIPTION
                "The current measurement of the testpoint being instrumented."
        ::= { ciscoEnvMonTemperatureStatusEntry 3 }

ciscoEnvMonTemperatureThreshold OBJECT-TYPE
        SYNTAX     Integer32
        UNITS      "degrees Celsius"
        MAX-ACCESS read-only
        STATUS     current
        DESCRIPTION
                "The highest value that the associated instance of the
                object ciscoEnvMonTemperatureStatusValue may obtain
                before an emergency shutdown of the managed device is
                initiated."
        ::= { ciscoEnvMonTemperatureStatusEntry 4 }

ciscoEnvMonTemperatureLastShutdown OBJECT-TYPE
        SYNTAX     Integer32
        UNITS      "degrees Celsius"
        MAX-ACCESS read-only
        STATUS     current
        DESCRIPTION
                "The value of the associated instance of the object
                ciscoEnvMonTemperatureStatusValue at the time an emergency
                shutdown of the managed device was last initiated.  This
                value is stored in non-volatile RAM and hence is able to
                survive the shutdown."
        ::= { ciscoEnvMonTemperatureStatusEntry 5 }

ciscoEnvMonTemperatureState OBJECT-TYPE
        SYNTAX     CiscoEnvMonState
        MAX-ACCESS read-only
        STATUS     current
        DESCRIPTION
                "The current state of the testpoint being instrumented."
        ::= { ciscoEnvMonTemperatureStatusEntry 6 }