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

sending custom snmp TRAP when track goes down

edward.borst
Level 1
Level 1

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

 

0 Replies 0
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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco