cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2706
Views
0
Helpful
2
Replies

Variable value

vishaw jasrotia
Level 5
Level 5

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

1 Accepted Solution

Accepted Solutions

Joe Clarke
Cisco Employee
Cisco Employee

The event detector sets those variables.  You can see all of the ED-supplied variables using the command "show event manager detector DETECTOR detail".

View solution in original post

2 Replies 2

Joe Clarke
Cisco Employee
Cisco Employee

The event detector sets those variables.  You can see all of the ED-supplied variables using the command "show event manager detector DETECTOR detail".

Thanks Joseph for your support.