cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

1400
Views
0
Helpful
5
Replies
Highlighted
Beginner

Need cisco ons 15310 temperature oid

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.

Everyone's tags (4)
5 REPLIES 5
Cisco Employee

Need cisco ons 15310 temperature oid

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

Beginner

Need cisco ons 15310 temperature oid

Thank you very much!

Beginner

Re: Need cisco ons 15310 temperature oid

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?

Cisco Employee

Re: Need cisco ons 15310 temperature oid

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

Beginner

Need cisco ons 15310 temperature oid

Thank you for your answers.

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here