08-29-2013 10:37 AM
Looking for an EEM script that will send an email of config details when a write mem is performed.
Any help would be appreciated as i'm new to EEM.
08-29-2013 03:50 PM
Something like this could work:
event manager applet email-write-mem
event cli pattern "^(write memory|write|copy running-config startup-config)[[:space:]]*$" sync no skip no
action 0.5 info type routername
action 1.0 mail from user@company.com to user@company.com server 10.1.1.1 subject "Write mem on $_info_routername" body "A write mem was done on $_info_routername"
09-03-2013 07:50 AM
Thanks for the reply!
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