We have 50+ remote sites where we run an EEM script that shut's the main tunnel interfaces and forces the site to run on backup once a month. After 24 hours another script executes and brings the main tunnel interfaces back up.
This has been working for months at all the sites. We now have one site that appears to be having a problem in that it executes the first script shutting the interfaces and then 24 hours later it executes the second script but never actually no shut's the interfaces.
Does anyone have any suggestions as to what I should run to log or debug to see what the problem is?
I am attaching the script from the site. The only changes between sites are the dates they run.