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

EEM to help with latency spiking issue

kevinhobson2000
Level 1
Level 1

Hi,

I am looking to create an emebedded event manager that checks a ip sla's rtt and when it goes above a certain threshold intitates a trace and stores it in a file on flash.

Can anybody help with this?

Cheers


Kev

1 Accepted Solution

Accepted Solutions

Attached is an EEM Tcl policy that should do what you want.  It requires you to set a few environment variables first.

# rtt_collector_id     : IP SLA collector ID to watch.
#
# rtt_threshold        : Round-trip response time threshold in milliseconds
#
# rtt_poll_freq        : The number of seconds between each polling interval.
#
# rtt_dest_ip          : The IP address to which the traceroute will be run.
#
# rtt_output_file      : File to store the output of the traceroute.

When it runs, a syslog message will be sent to indicate that the traceroute output was saved to the specified output file.

View solution in original post

4 Replies 4

Joe Clarke
Cisco Employee
Cisco Employee

By trace, do you mean a traceroute?  What version of IOS are you using?

Hi Joseph,

Yes i mean traceroute.

IOS version is: 12.4(11)T4

Thanks for your help with this.

Cheers


Kev

Attached is an EEM Tcl policy that should do what you want.  It requires you to set a few environment variables first.

# rtt_collector_id     : IP SLA collector ID to watch.
#
# rtt_threshold        : Round-trip response time threshold in milliseconds
#
# rtt_poll_freq        : The number of seconds between each polling interval.
#
# rtt_dest_ip          : The IP address to which the traceroute will be run.
#
# rtt_output_file      : File to store the output of the traceroute.

When it runs, a syslog message will be sent to indicate that the traceroute output was saved to the specified output file.

Joe,

Sorry for taking so long to get back to you.

Thanks for this.

Cheers

Kev