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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

sending custom snmp TRAP when track goes down

Hi,

I'm trying to configure snmp traps when a track goes down.

I can get this working with EEM in the following way:

event manager applet track-32
 event track 32 state any
 action 1 snmp-trap strdata "Track 32 changed state to $_track_state"

 

on its self this is a great feature,but I have one problem with it:

when the snmp trap is sent it is always with the same OID (.1.3.6.1.4.1.9.10.91.0.2)

all the data is sent as parameters in the value.
The problem I have is that these OID's are changing.

FE. .1.3.6.1.4.1.9.10.91.1.2.3.1.2.8 == 0

the 8 on the end of the OID is an incrementing number. this is my problem when parsing the trap to find the related stuff.

 

anyone an idea on how the get this handled?

I have tried to sen a custom trap with a custom OID, but I did not manage to get this working.

 

Many thanks in advance,

Edward

 

88
Views
0
Helpful
0
Replies
CreatePlease to create content