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

IP SLA Config: sending traps in every interval

ravi_sprint
Level 1
Level 1

Hi: Is it possible to configure a IP SLA such that the router sends a trap with the current ICMP packet delay in every interval. Right now, it sends a trap when the ICMP delay exceeds a threshold and will send another only when the delay comes down to normal and exceeds the threshold again.Wondering if it's possible to configure the router to send the trap every 15 minutes.

Thanks

Ravi

1 Accepted Solution

Accepted Solutions

Joe Clarke
Cisco Employee
Cisco Employee

You could do this with the Embedded Event Manager.  For example, assume your collector ID is 1.  The following applet will send an EEM trap every 15 minutes with the latest response time:

event manager applet ipsla-rtt

event timer watchdog time 900

action 1.0 info snmp oid 1.3.6.1.4.1.9.9.42.1.2.10.1.1.1 get-type exact

action 2.0 snmp-trap intdata1 $_info_snmp_value strdata "IP SLA RTT is $_info_snmp_value milliseconds"

This applet requires EEM 2.4 or higher.

View solution in original post

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

You could do this with the Embedded Event Manager.  For example, assume your collector ID is 1.  The following applet will send an EEM trap every 15 minutes with the latest response time:

event manager applet ipsla-rtt

event timer watchdog time 900

action 1.0 info snmp oid 1.3.6.1.4.1.9.9.42.1.2.10.1.1.1 get-type exact

action 2.0 snmp-trap intdata1 $_info_snmp_value strdata "IP SLA RTT is $_info_snmp_value milliseconds"

This applet requires EEM 2.4 or higher.

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