Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Variable value

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
Cisco Employee

Variable value

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

2 REPLIES
Cisco Employee

Variable value

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

New Member

Variable value

Thanks Joseph for your support.

858
Views
0
Helpful
2
Replies