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

Event Manager Help to reload

SouzaG
Level 1
Level 1

Hello, 

In the company we have a few unmanned sites where we have a few routers 829 with 4G connection that sometimes goes down, we need to request the signal refresh with the Service Provider but it usually don't work, so we need to dispatch a field technician just to reboot the router. 

 

I tried running this event manager to reload the cellular but it does not works as much in every place.

event manager applet CELLULAR
event track 123 state down
action 10 cli command "enable"
action 20 cli command "config t"
action 30 cli command "service internal"
action 40 cli command "exit"
action 50 cli command "test cellular 0 modem-power-cycle"

It tracks an IP of the gateways. I tried doing the reload as below in a lab environment:

event manager applet RELOAD
event track 123 state down
action 10 cli command "enable"
action 20 cli command "reload in 60" pattern confirm
action 30 cli command "y"

But it didn't work. I did some testing if I put just "reload" it will reboot but we need to wait a while to reboot instead of automatically after it loses connection.

1 Reply 1

SouzaG
Level 1
Level 1

Update, tried to add delays on start but it didn't work as well. Any thoughts?