I have a general question about EEM policies. I have written an EEM policy where the "event" which is used to trigger the policy at first re-occurs during the policy run. What happens then? Will the EEM policy will be triggered again and another instance of the same policy starts running? I think that is what happening in my case. I am monitoring the status of virtual-ppp interface as an event to trigger the policy, but I am also re-starting (shut/no shut) this virtual-ppp interface as an action in the same policy and I think it is triggering additional instances of same policy to be run. When I do a "sh event manager policy active" I see multiple instances of same policy running. Am I right then?
Is there a way I can stop this process from happeneing? I want only one instance of policy running. So, I guess I want EEM to not activate another instance when one instance of policy is already running. Is that possible?