11-13-2013 03:32 AM
Hey ,
I am new in EEM , so please help me out in one of my query .
I am going through one of the script as below
event manager applet SLA
event timer cron cron-entry "5 * * * *"
event ipsla operation-id 10 reaction-type timeout
action 10 if $_ipsla_condition eq "Occurred"
action 15 cli command "enable"
action 20 cli command "configure term"
action 25 cli command "no ip sla schedule 20 life forever start-time now"
action 30 else
action 35 cli command "enable"
action 40 cli command "configure term"
action 45 cli command "ip sla schedule 20 life forever start-time now"
action 50 end
my question is from where the variable $_ipsla_condition will get the value .
not with this example only , in other example there are so my variable like $_routing_lastgateway etc.
From where these variable will get the value . One way to get the value , is to define manually. But here we are not defining the value.
Thanks in advance for you help.
Vishaw
Solved! Go to Solution.
11-13-2013 10:21 AM
The event detector sets those variables. You can see all of the ED-supplied variables using the command "show event manager detector DETECTOR detail".
11-13-2013 10:21 AM
The event detector sets those variables. You can see all of the ED-supplied variables using the command "show event manager detector DETECTOR detail".
11-13-2013 08:05 PM
Thanks Joseph for your support.
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