I am new to TCL and it is very confusing (as of right now) with all the
::cisco::eem::event_register
at the beginning of the script, i need a very simple script to run every 5 minutes
ping 1.1.1.1 source 2.2.2.2 count 10
if i get 8+ replies i need syslog message "SLA SUCCESS" if i got lest than 8 or non back, i need syslog "SLA FAILED"
based on the syslog i will setup event manager to take actions..
problem i have is how to write a TCP script and store it in the memory so nexus switch will run it every 5 minutes.
Please help.
CCIE 18676