Link to home
Start Free TrialLog in
Avatar of shanepresley
shanepresley

asked on

Cisco - Graphing Temp?

I have a Cisco 3845 router, and am using MRTG to graph CPU and Interfaces.

Is there a way to graph temperature?  I'd like to actually graph the real temp.  But I think within IOS there's also a way to set thresholds and do an SNMP get to query the status of those?

But if possible I would prefer a way to do an SNMPGET and have it return the current ambient temp in degrees.  

Thanks,
Shane
Avatar of Les Moore
Les Moore
Flag of United States of America image

Have you tried using this OID
entSensorValue (1.3.6.1.4.1.9.9.91.1.1.1.1.4)
You may need the Entity Sensor MIB's, and I don't think they're included with MRTG..
http://tools.cisco.com/Support/SNMP/do/BrowseMIB.do?local=en&mibName=CISCO-ENTITY-SENSOR-MIB
Avatar of shanepresley
shanepresley

ASKER

snmpget -v1 -c mycomstring myIPaddress 1.3.6.1.4.1.9.9.91.1.1.1.1.4
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: SNMPv2-SMI::private.9.9.91.1.1.1.1.4

Hmm, well I should be able to do an SNMPGET, even if I don't compile the MIBs right?  I usually just use the OID directly, and skip the MIB names?  Not sure if that matters, somewhat new to SNMP.  But so far I've avoided having to import or compile MIBs, except when I want to use names instead of numbers.

ASKER CERTIFIED SOLUTION
Avatar of Les Moore
Les Moore
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Great link, thanks!