Thursday, October 22, 2020

Trying to setup EEM on ASA to send emails

Hi, I'm trying to setup an EEM script on an ASA to send an email when someone ssh's into the ASA to see whos logging into them. Unlike Cisco IOS i cannot find a way to do it. Surely there is a "mail" action on them like IOS to?

event manager applet LOGIN

event syslog id 113012 occurs 1

action 0 cli command "show logging | i AAA user authentication Successful : local database"

output none

Above is the only way so far i can think of doing it. There is no mail action (unless I'm looking in the wrong place) and the "output" doesn't give a mail option either and only seems to give you options to create a file local on the ASA.

Could anyone shed some light on this?



No comments:

Post a Comment