I'm very new to EEM and have created an applet that will send a email when port secuirty has been tripped and is logged in the syslog.
I'm trying to figure out how to have the applet only send one email and not continuesly send as the messages log. Also I have seen that there are variables that can be put in to the email like ports or the actual syslog message but haven't been able to to figure them out yet. Any help would be greatly appericated.
You can use the syslog event detector parameters like occurs and period to limit the number of times the applet triggers based on the frequency of the messages. You can also parse the syslog to pull out certain values. I am not familiar with the full contents of this message, but something like:
action 1.0 regexp "(GigabitEthernet[0-9/]+)" $_syslog_msg match intf
action 2.0 mail server "$email_server" to "$email_to" from "$email_from" subject "Port Security Has been tripped on $intf"
Question We run asr9001 with XR 6.1.3, and we have a very long delay to
login w/ SSH 1 or 2 to the device compare to IOS device. After
investigation, the there is 1s delay between the client KEXDH_INIT and
the server (XR) KEXDH_REPLY. After debug ssh serv...
Introduction The purpose of this document is to demonstrate the Open
Shortest Path First (OSPF) behavior when the V-bit (Virtual-link bit) is
present in a non-backbone area. The V-bit is signaled in Type-1 LSA only
if the router is the endpoint of one or ...
Hi, I am seeing quite a few issues with patch install and wanted to
share my experience and workaround to this. Login to admin via CLI, then
access root with the “shell” command Issue “df –h” and you’ll probably
see the following directory full or nearly ...