I have been reading docs and post for a few hours and not having much luck in getting this to work.
I have an EEM script that monitors when an interface goes down and does something on an ASR 1002x. The only issue is that if the router reboots it will send the syslog message that the intererface is down, right before it comes up.
What I would like to do is have the eem script check to make sure that the router has an uptime of more than a couple of minutes.
action - if uptime is greater than 2 mins
action - do the thing i want to have happen
action - else ? break?