Skip to content

Instantly share code, notes, and snippets.

@twr14152
Created June 17, 2015 17:52
Show Gist options
  • Save twr14152/ed216bf5a914077343e6 to your computer and use it in GitHub Desktop.
Save twr14152/ed216bf5a914077343e6 to your computer and use it in GitHub Desktop.
EEM Cisco - config change Alert - with email and syslog capturing user name and config commands
archive
log config
logging enable
notify syslog contenttype plaintext
hidekeys
event manager applet Config_Change authorization bypass
event config
action 1.1 cli command "enable"
action 1.2 cli command "show archive log config all"
action 1.4 mail server "<mail.server.ip.address>" to "<email>@<name>.com" from "<device-name> @<name>.net" subject "config-change" body "$_cli_result"
action 1.5 cli command "clear archive log config force"
!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment