cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
832
Views
0
Helpful
1
Replies

Searching for specific OID (SNMP)

Hey guys:

My boss put my in charge of the implementation of an SNMP program that draw staticts of diferents nodes of the network. The program in cuestion is called CACTI, maybe you've heard somenting about this program; the program is currently working fine and it draws diferentes things like the traffic passing throught an interface or the CPU processing, but my boss want to draw diferents statistics of the routers presents in our network, statistics like temperature of the chasis or the comsumtion of the memory in the router. To do that I need to find the respective OID's but until today I coulnd't find them. Here is the question: If I had a variable how do I find the respective OID of that variable??. I'm interest especially in the OID of the temperature, How do I find it?.

PD: Someone told me something about MIB Browser, Can IT help me?, How do I use It.

PD2: Obviosly all the routers I'm monitoring are CISCO ROUTERs

Thanks Guys

Martin

 

1 Reply 1

Dan Frey
Cisco Employee
Cisco Employee

I typically perform an snmpwalk starting from iso and pipe the response into a file when I'm searching for a specific OID.   Once the walk is complete ... starting grepping for the data.

[dafrey@HammerHead mibwalk]$ grep -i temp c2851_ISO

CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusDescr.1 = STRING: chassis

CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusValue.1 = Gauge32: 34 degrees Celsius

To use a mib browser you will need to know which mib file to load into the mib browser tool. 

- Dan

Review Cisco Networking for a $25 gift card