cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1222
Views
0
Helpful
1
Replies

Object tracking EEM applet repeat trigger

tech_king
Level 1
Level 1

Hi guys I have configured EEM to track an object based on  IP SLA. It basically resets my 4g interface if my SLA goes down. It works perfect but only initiates one time when the triggered condition is met. What I would like to know is if there is any way to make if the triggered condition is still down let the applet run every ten minutes as long as the IP SLA is down. Below is the applet.

event manager applet Reload_4G_Module
event track 1 state down
action 1.0 cli command "enable"
action 1.1 cli command "configure terminal"
action 1.2 cli command "service internal"
action 1.3 cli command "end"
action 2.0 cli command "test cellular 0 modem-power-cycle"
action 3.1 cli command "configure terminal"
action 3.2 cli command "no service internal"
action 3.3 cli command "end"
action 4.0 syslog msg "Cellular0 module has been rebooted."

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

Have a look at How To Introduce Large Delays In EEM Policies .  Essentially, you'll need to have this applet install another applet with a watchdog timer to periodically do the reset until the tracked object transitions to up.  Then a third, up applet will run to remove the nested timer applet.