Posted on July 22, 2019 5:28 pm
 |  Asked by Kalpesh Patel
Print Friendly, PDF & Email

Is there a way on Arista Switch/EOS to trigger an e-mail based on Syslog events (from show logging)? An example would be helpful.

– Arista DCS-7280SR-48C6-F
– Software image version: 4.21.0F

An example event could be:

%BGP-5-ADJCHANGE: peer x.x.x.x (AS 123) old state Established event HoldTime new state Idle
%BGP-5-ADJCHANGE: peer x.x.x.x (AS 123) old state OpenConfirm event RecvKeepAlive new state Established

Thank you in advance!

Posted by Lokesh Charora
Answered on July 29, 2019 4:51 pm

Hello Kalpesh,

Please check this link

This script monitors the tail of syslog and for any matching regex “expression” in the script sends an email to This script can be modified to send email to you personal/corporate email address as well.

Let me know if this helps.

Post your Answer

You must be logged in to post an answer.