I had an interesting problem last night, and I'm trying to automate a solution. An internet providers box that runs their EVPL circuit stopped working. Unfortunately, this box appeared up to my routers on both sides of the circuit, but no traffic was passing through it. I am running RIP in this part of my network, and RIP did not reroute over its backup circuit in my remote location. I was able to force RIP to reroute by administratively shutting down the interface to the internet provider's EVPL box. I have since put up an IP SLA monitor to ping across this circuit using the source IPs of the EVPL interfaces on my routers.
My alert question is, can I set up an alert on the IP SLA and have it run a script to shutdown the EVPL interface on my remote router using NCM or one of the Cisco tools that are on the Engineer's Toolset? I would have to script it so the NCM/Cisco tool logs into the router on the backup path, then SSHs to the router at the remote location and shuts down the EVPL interface.
Does the Alert Manager work with NCM in this way? Will NCM run a job without a schedule? I'm curious to see if anyone has implemented a similar solution.
Thanks,
Erik