Hi,
I'm trying to find which OID's I need to use for the next parameters in a 2801 router:
-temperature.
-Used RAM.
-max bandwith used in a period of time.
I search in SNMP Object Navigator, but some of the OID found there don't give me any response in my router.
Help please.
http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml
You can download the mib or just download the oid files.
temp would be in the envmon mib
ciscoEnvMonTemperatureStatusEntry" "1.3.6.1.4.1.9.9.13.1.3.1"
"ciscoEnvMonTemperatureStatusIndex" "1.3.6.1.4.1.9.9.13.1.3.1.1"
"ciscoEnvMonTemperatureStatusDescr" "1.3.6.1.4.1.9.9.13.1.3.1.2"
"ciscoEnvMonTemperatureStatusValue" "1.3.6.1.4.1.9.9.13.1.3.1.3"
"ciscoEnvMonTemperatureThreshold" "1.3.6.1.4.1.9.9.13.1.3.1.4"
"ciscoEnvMonTemperatureLastShutdown" "1.3.6.1.4.1.9.9.13.1.3.1.5"
"ciscoEnvMonTemperatureState" "1.3.6.1.4.1.9.9.13.1.3.1.6"
memory is in the cisco mem mib
freeMem" "1.3.6.1.4.1.9.2.1.8"
Bandwidth would be in the ifmib
"ifInOctets" "1.3.6.1.2.1.2.2.1.10"
ifOutOctets" "1.3.6.1.2.1.2.2.1.16"
Thank you so much, I will check this OID in my router.
Appreciated
NP. You can also get info from your router,
show snmp mib
Beware, the list is long.
Thank you so much, I will check this OID in my router.
Appreciated
Well I look in my router, and those OID seems to be out of it.
The more close OID in the MIB was 1.3.6.1.4.1.9.9.13.1.4.1.2.2, is about the fan status.
So, there is any way I can do to activate those OID's in my router?
Thanks
the OID is .1.3.6.1.4.1.9.9.13.1.3.
Here is one of my 7200's.
root@bigmac:~/.snmp/mibs# snmpwalk -v 2c -c root.1 10.1.12.1 1.3.6.1.4.1.9.9.13.1.3
CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusDescr.1 = STRING: I/O Cont Inlet
CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusDescr.2 = STRING: I/O Cont Outlet
CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusDescr.3 = STRING: NPE Inlet
CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusDescr.4 = STRING: NPE Outlet
CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusValue.1 = Gauge32: 22 degrees Celsius
CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusValue.2 = Gauge32: 22 degrees Celsius
CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusValue.3 = Gauge32: 22 degrees Celsius
CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusValue.4 = Gauge32: 22 degrees Celsius
CISCO-ENVMON-MIB::ciscoEnvMonTemperatureThreshold.1 = INTEGER: 50 degrees Celsius
CISCO-ENVMON-MIB::ciscoEnvMonTemperatureThreshold.2 = INTEGER: 53 degrees Celsius
CISCO-ENVMON-MIB::ciscoEnvMonTemperatureThreshold.3 = INTEGER: 75 degrees Celsius
CISCO-ENVMON-MIB::ciscoEnvMonTemperatureThreshold.4 = INTEGER: 60 degrees Celsius
CISCO-ENVMON-MIB::ciscoEnvMonTemperatureLastShutdown.1 = INTEGER: 0 degrees Celsius
CISCO-ENVMON-MIB::ciscoEnvMonTemperatureLastShutdown.2 = INTEGER: 0 degrees Celsius
CISCO-ENVMON-MIB::ciscoEnvMonTemperatureLastShutdown.3 = INTEGER: 0 degrees Celsius
CISCO-ENVMON-MIB::ciscoEnvMonTemperatureLastShutdown.4 = INTEGER: 0 degrees Celsius
CISCO-ENVMON-MIB::ciscoEnvMonTemperatureState.1 = INTEGER: normal(1)
CISCO-ENVMON-MIB::ciscoEnvMonTemperatureState.2 = INTEGER: normal(1)
CISCO-ENVMON-MIB::ciscoEnvMonTemperatureState.3 = INTEGER: normal(1)
CISCO-ENVMON-MIB::ciscoEnvMonTemperatureState.4 = INTEGER: normal(1)
of course it depends on your router right, here is a 2620.
root@bigmac:~/.snmp/mibs# snmpwalk -v 2c -c root.1 10.1.12.2 1.3.6.1.4.1.9.9.13.1.3
CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusDescr.1 = STRING: chassis
CISCO-ENVMON-MIB::ciscoEnvMonTemperatureState.1 = INTEGER: normal(1)
best advice is to go through the mibs and find what you are looking for. You can "decode" the mibs using netsnmp's snmptranslate tool, google netsnmp and download the latest version. Goto cisco's mib download page, ftp://ftp-sj.cisco.com/pub/mibs/v2/, and download CISCO-SMI.my and then whatever other mib you want. go to command line and do a "snmptranslate -Tz -m ./CISCO-ENVMON-MIB.my" or whatever other mib you want, and it will give you the oid to name mapping for the mib.
GL
Bob
Well, I did this:
tinysnmpwalk 192.30.0.2 CID | grep 1.3.6.1.4.1.9.9.13.1.3.1
and did't find the OID.
I also run on the router:
show snmp mib | b ciscoEnvMonTemperatureStatusEntry
ciscoEnvMonTemperatureStatusEntry.2
ciscoEnvMonTemperatureStatusEntry.3
ciscoEnvMonTemperatureStatusEntry.4
ciscoEnvMonTemperatureStatusEntry.5
ciscoEnvMonTemperatureStatusEntry.6
but when I ask for this ODS have no answer.
Anyway, thank you for your help.
I don't know what mibs your software will walk by default, but netsnmp will not walk the envmib by default, you have to tell it to start at the oid, so something like this,
snmpwalk -v 2c -c root.1 10.1.12.1 .1.3.6.1.4.1.9.9.12.1.3
GL