Skip to content

Instantly share code, notes, and snippets.

@itbj
Forked from twr14152/EEM Config-change-alert
Created July 3, 2019 09:43
Show Gist options
  • Save itbj/24406fb470c7fab58d2175358fafedcc to your computer and use it in GitHub Desktop.
Save itbj/24406fb470c7fab58d2175358fafedcc 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