cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
787
Views
0
Helpful
2
Replies

SNMP TRAP OID

ariya
Level 1
Level 1

I am trying to track the snmp traps received from our switch (WS-C 4006).

I have put the following OIDs in my snmptrapd.conf, but for some reason the traphandle did not respond to them:

traphandle .1.3.6.1.2.1.17.1 traps newroot

traphandle .1.3.6.1.2.1.17.2 traps topologychange

traphandle .1.3.6.1.4.1.9.5.3 traps moduleup

traphandle .1.3.6.1.4.1.9.5.4 traps moduledown

traphandle .1.3.6.1.4.1.9.5.5 traps chassisAlarmOn

traphandle .1.3.6.1.4.1.9.5.6 traps chassisAlarmOff

What are the correct OIDs of these traps?

Anyone can help?

Thanks.

Ariya

2 Replies 2

rais
Level 7
Level 7

You can,

1. refer to MIB

2. decode the OID from trap packet as soon as it is sent to you on a given event.

Thanks.

Thanks for the reply. I have already got them all correct. And my perl script seems to handle them the way it's supposed to.

Thanks

Ariya

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: