Cisco EEM Script To Email On Successful SSH Login

Here’s a quick EEM script I wrote to email you the information of someone who just SSH’d into the Router successfully. event manager environment _email_to destemail@domain.com event manager environment _email_server X.X.X.X event manager environment _email_from fromemail@domain.com event manager applet email event syslog pattern "SEC_LOGIN-5-LOGIN_SUCCESS" action 1.0 cli command "enable" action 2.0 cli command "show users" [...]