06-23-2010 07:01 AM
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,
06-23-2010 05:30 PM
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/ .
06-24-2010 12:33 PM
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!
06-29-2010 11:42 AM
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!
06-30-2010 12:07 AM
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.
06-29-2010 03:11 PM
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
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
grep -i
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide