cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2129
Views
0
Helpful
5
Replies

Need cisco ons 15310 temperature oid

vanessa-white
Level 1
Level 1

Hey, guys

Currently I'm writing a script to get the temperature value via snmpget, but I can't find any temperature O.I.D. for this hardware. Can you help?

I tried mibbrowser software to make snmpwalk on the mib tree.I tried to connect some mibs, but that didn't help.

So I need advise or the definite oid, thank you.

5 Replies 5

Michael Dooley
Cisco Employee
Cisco Employee

You have to have the CERENT-ENVMON-MIB.mib loaded.

Look at oid .1.3.6.1.2.1.1.6.0 and see if the string says 15310MA.  If it is not then these OIDs might not work.

If it does say 15310MA then look at oid .1.3.6.1.4.1.3607.2.80.20 for the cerentEnvMonTemperatureStatsTable.  You should see something like this:

enterprises.3607.2.80.20.1.20.1 = STRING: "SYSTEM"

enterprises.3607.2.80.20.1.30.1 = Gauge32: 26

enterprises.3607.2.80.20.1.40.1 = Gauge32: 50

The middle number (in this case 26) is the temperature in Celcius.

Mike Dooley

Cisco Heartland TAC

Thank you very much!

No good. That doesn't work!

x # snmpget -c public -v 1 ip .1.3.6.1.4.1.3607.2.80.20.1.20.1

SNMPv2-SMI::enterprises.3607.2.80.20.1.20.1 = STRING: "SYSTEM"

x # snmpget -c public -v 1 ip .1.3.6.1.4.1.3607.2.80.20.1.30.1

SNMPv2-SMI::enterprises.3607.2.80.20.1.30.1 = Gauge32: 0

x # snmpget -c public -v 1 ip .1.3.6.1.4.1.3607.2.80.20.1.40.1

SNMPv2-SMI::enterprises.3607.2.80.20.1.40.1 = Gauge32: 50

I've got a disc with mibs for this network thing. There is A LOT of them on it. It is written that it does support a bunch of mibs, but which one do I need to use in mibbrowser to get the temperature value?

Vanessa...

You have to have the CERENT-ENVMON-MIB.mib loaded.  And your output looks fine.

IMPORTANT--->Look at oid .1.3.6.1.2.1.1.6.0 and see if the string says 15310MA.  If it is not then these OIDs might

not work.

This is the key.  You are most likely looking at a 15310CL which a) does not return anything to the .1.3.6.1.2.1.1.6.0 OID and b) does not support the temperature measurement and returns "0" for the following:

x # snmpget -c public -v 1 ip .1.3.6.1.4.1.3607.2.80.20.1.30.1

SNMPv2-SMI::enterprises.3607.2.80.20.1.30.1 = Gauge32: 0

Mike Dooley

Cisco Heartland TAC

Thank you for your answers.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: