03-01-2016 01:57 PM - edited 03-05-2019 03:28 AM
Hi, i need to ask is EEM Applets are recommended to use and regularly used in networks?
Like i used it once and experience was bad that, my Router kept crashing as soon event generated, so i never worked on it since then.
But now i have some requirement where i have no other option to use that on Cisco ASR, and that router is critical.
So my questions is, do you guys use it ? :)
is it widely used?
is it recommended?
is it stable config ?
If anyone has any good use case scenarios article that would be great. ( Found few on internet, but wanted to check some extensive examples to unleash the features )
thanx all.
03-01-2016 03:34 PM
I use it on maybe 1 in 200 routers that I configure. I only use it when I can't find a way of getting the router do wherever it is automatically.
I've always found it to be stable and worked well.
03-02-2016 01:19 AM
Don't have any issue with it either , you just need to be careful building them and how long you leave them run for especially if there collecting data , I use them a lot for collecting cpu issues there very handy for that as you need to get the statistics in real time
There is some good examples in this link
https://supportforums.cisco.com/document/117596/cisco-eem-basic-overview-and-sample-configurations
there good to use with ip sla here is one for rebooting dsl backup router automatically if it fails
ROUTER#conf t
ROUTER(config)#ip sla 1
ROUTER(config-ip-sla)#icmp-echo 10.10.10.2
ROUTER(config-ip-sla)#exit
ROUTER(config)#ip sla schedule 1 life forever start-time now ageout 900
ROUTER(config)#track 1 ip sla 1
ROUTER(config-track)#delay down 180
ROUTER(config-track)#exit
ROUTER(config)#event manager applet ping-failure
ROUTER(config-applet)#event track 1 state down
ROUTER(config-applet)#action 1 syslog msg "Ping Failure, Rebooting!"
ROUTER(config-applet)#action 2 reload
ROUTER(config-applet)#exit
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide