Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

OID traps

Please, I need a command or directory patch file , where I can get the OID of some traps.

Like the output that can get when I put command "ovdumpevents" in HPOV software.

For example OID of the following traps:


snmp-server community ******** RO
snmp-server community ******** RW
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps chassis
snmp-server enable traps module
snmp-server enable traps tty
snmp-server enable traps config
snmp-server enable traps event-manager
snmp-server enable traps syslog
snmp-server enable traps memory bufferpeak
snmp-server enable traps entity
snmp-server enable traps cpu threshold
snmp-server enable traps rsvp
snmp-server enable traps vlancreate
snmp-server enable traps vlandelete
snmp-server enable traps envmon fan shutdown supply temperature status
snmp-server enable traps port-security
snmp-server enable traps alarms informational
snmp-server host 10.24.0.40 ******** envmon snmp
snmp-server host 10.24.0.41 ******** envmon snmp

Thanks very much in advance

Best regards,

5 REPLIES
Cisco Employee

Re: OID traps

You can find OIDs for traps at ftp://ftp.cisco.com/pub/mibs/oid/ .  However, if you just want to translate varbinds you are seeing in your NMS logs, checkout the SNMP Object Navigator at http://www.cisco.com/go/mibs or my SNMP Search & Translate tool at http://www.marcuscom.com/snmptrans/ .

Community Member

Re: OID traps

Thank you very much for the information. I´m need to find a command that can be executed in the ciscoworks server to see the OID and the traps.
Specifically, I need to analyze a "Cisco 7609 Router"  in which I have configured the following traps:


snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps chassis
snmp-server enable traps module
snmp-server enable traps tty
snmp-server enable traps config
snmp-server enable traps event-manager
snmp-server enable traps syslog
snmp-server enable traps memory bufferpeak
snmp-server enable traps entity
snmp-server enable traps cpu threshold
snmp-server enable traps rsvp
snmp-server enable traps vlancreate
snmp-server enable traps vlandelete
snmp-server enable traps envmon fan shutdown supply temperature status
snmp-server enable traps port-security
snmp-server enable traps alarms informational


What OID correspond for example to "module" or  "chassis" traps ?
The IOS for this device is a "Cisco IOS Software, c7600s72033_rp Software (c7600s72033_rp-ADVIPSERVICESK9-M), Version 12.2(33)SRB5a"

Best regards!

Community Member

Re: OID traps

Hi Joe,

any ideas?

Please, I need obtain particular IOD corresponding to traps generated by a device, for example router 7609.

Thanks you very much

best regards!

Cisco Employee

Re: OID traps

The chassis keyword enables the chassisChangeTrap from the OLD-CISCO-CHASSIS-MIB while the module keyword enables the moduleUp and moduleDown traps from the CISCO-STACK-MIB.

Community Member

Re: OID traps

I installed the open source snmpwalk onto the network management server so that I can walk the MIB to find specific OIDs.

snmpwalk -v2c -c | grep -i

For your RO community string it is:

mib-2.47.1.2.1.1.4.1

or you could write the MIB to a text file and grep for OIDs from there since the walk can take quite a bit of time:

snmpwalk -v2c -c > /tmp/routermib

grep -i /tmp/routermib

2611
Views
5
Helpful
5
Replies
CreatePlease to create content