cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
589
Views
0
Helpful
9
Replies

Unable to read temperature sensors on a C8200-1N-4T over SNMP

kasper123
Level 4
Level 4

I have two new C8200-1N-4T routers. I'm trying to read the temperature sensors over SNMP but it doesn't seem to be working.

Currently running IOS XE 17.16.01a but it's the same with 17.09.02a.

On an older C8200-1N-4T (so exactly same model) running 17.09.02a i can read the temp sensor with this OID:

mib-2.99.1.1.1.4.7003

On the new C8200-1N-4T when I try with the same OID I get the error:

SNMPv2-SMI::mib-2.99.1.1.1.4.7003 = No Such Object available on this agent at this OID

How could this be? It's the same type of router running the same software version.

 

1 Accepted Solution

Accepted Solutions

Have you tried 1.3.6.1.4.1.9.9.91.1.1.1.1?

That should be the table with 1.3.6.1.4.1.9.9.91.1.1.1.1.4 being the sensor value for temps. 

View solution in original post

9 Replies 9

marce1000
Hall of Fame
Hall of Fame

 

   - Sometimes the OID can slightly differ according to the hardware layout , try to find out with :
     show snmp mib

  M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

kasper123
Level 4
Level 4

Hi. Not sure what I should be looking for.

show snmp mib produces a huge list. Tried searching for anything temperature related but couldn't find anything.

 

 - You could also try to snmpwalk the OID partially starting from 2.99.1.1.1.4
    or use show snmp mib | inc 2.99

  M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

kasper123
Level 4
Level 4

Thank you for taking the time to respond @marce1000 

show snmp mib | inc 2.99 doesn't return anything.

 

 - Not all devices have a temperature sensor ; check with show environment , if available you could also try :
    1.3.6.1.4.1.9.9.13.1.3.1.3 (ciscoEnvMonTemperatureStatusValue) present in CISCO-ENVMON-MIB

  M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

The sensors are there for sure. Already checked that.

kasper123_0-1744008838925.png

1.3.6.1.4.1.9.9.13.1.3.1.3 is also not there.

 

  - Have an snmpbulkwalk of CISCO-ENVMON-MIB and look for related OID's

  M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Have you tried 1.3.6.1.4.1.9.9.91.1.1.1.1?

That should be the table with 1.3.6.1.4.1.9.9.91.1.1.1.1.4 being the sensor value for temps. 

Hi Ben. Yes that was it. Did an snmp walk and got the values.

So on the same type of device running the same software version,

this: enterprises.9.9.91.1.1.1.1.4.7003 works on both the new one and the old one, while

this: mib-2.99.1.1.1.4.7003 works only on the older device but doesn't work on the new one.

On the old device both enterprises.9.9.91.1.1.1.1.4.7003 and mib-2.99.1.1.1.4.7003 show the same value.

Thank you!