12-24-2010 02:29 AM
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
Solved! Go to Solution.
12-31-2010 04:07 PM
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.
12-24-2010 08:04 AM
By trace, do you mean a traceroute? What version of IOS are you using?
12-30-2010 11:47 PM
Hi Joseph,
Yes i mean traceroute.
IOS version is: 12.4(11)T4
Thanks for your help with this.
Cheers
Kev
12-31-2010 04:07 PM
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.
02-21-2011 11:51 PM
Joe,
Sorry for taking so long to get back to you.
Thanks for this.
Cheers
Kev
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide