Created
June 17, 2015 17:52
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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