Outdated Version

You are viewing an older version of this section. View current production version.

Create the Alert Configuration File min read


An alert configuration file must be created to specify where your SMTP server resides. Here is the template of the alertconfig.yaml file:

location:
  email:
    receivers:
      - receiver@example.com
    sender: sender@example.com
    server:
      host: smtp.example.com
      port: 25
      username:
      password:

Modify this file by:

  1. Updating the host field to reflect the host of the SMTP server.

  2. Updating the port to reflect the port that your SMTP server is listening on. This port must be open and available.

  3. Updating senders and receivers details to reflect where the email will be sent to and received from.

  4. Updating the username and password if needed.

The following example file shows a configuration of an SMTP server running on an EC2 instance, sending an email to a singlestore.user Gmail user. You may add multiple recipients to the receiver list.

location:
  email:
    receivers:
      - singlestore.user@gmail.com
    sender: ec2-user@ip-172-31-77-34.ec2.internal
    server:
      host: ip-172-30-77-34.ec2.internal
      port: 25
      username: 
      password: