• Author : Mark Thiel

 
 

Configuration Change Email Notification

Using Event-Handler Feature, you can send an email notification whenever the Startup Configuration has been modified.  Below is the basic setup required to configure the email client and Event-Handler. Email Client The following email client configuration utilizes Gmail as the SMTP server with user itnetops@example.com as the authorized user to send emails.  It also uses TLS as the transport to Gmail.  Any valid SMTP server can be used for this function. email   from-user itnetops@example.com   server smtp.gmail.com   auth username itnetops@example.com   auth password <password>   tls You may also specify a different host port to the server (server host:port) if needed.   Event-Handler...
Continue reading →

Configure Daemon Script to Collect Data

Summary The EOS daemon command is typically used to run TerminAttr (Streaming Telemetry Agent) on Arista switches. The daemon command can also be used to create custom daemon processes to do just about anything you wish. It can be useful in troubleshooting and collecting data over a period of time. In the example below, we create a bash script that runs 4 show commands and adds a timestamp to the log and repeats the process every 5 seconds. The output of the script commands are stored in an agents file located in /var/log/agents. Create Script File From the switch, drop...
Continue reading →

Follow

Get every new post on this blog delivered to your Inbox.

Join other followers: