Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configure the Exim4 Agent to Send E-mail

To configure the Exim4 Agent to send email, you must first configure the Paragon Automation primary node as the Exim4 host. To do so, you must enter the node's FQDN in the healthbot.sys file. The healthbot.sys file contains a list of all environment variables for the Paragon Automation microservices. After you modify the healthbot.sys file with the Exim4 hostname, you must run the healthbot restart command to restart the alerta microservice with the changes you made.

Note:

Before you begin, configure your DNS server to resolve the FQDN of the Exim4 host to the Ingress Controller's VIP.

Use the following steps to enable the Exim4 agent to send e-mails.

  1. Log into the Paragon Automation primary node using your server credentials.
  2. Type the following command to become a root user.
    root@primary-node# su -root
  3. Change the path to /var/local/healthbot.
    root@primary-node# cd /var/local/healthbot/
  4. Type the following command to open the healthbot.sys file.
    root@primary-node:/var/local/healthbot# vi healthbot.sys
  5. Scroll down to find the api-server section in the healthbot.sys file.
  6. Type the Paragon Automation primary node FQDN as value for the HOST_HOSTNAME variable.

    For example, HOST_HOSTNAME = example.domain.top-level-domain.

  7. Type :wq! to save the changes and exit the file.
  8. Type the following command to update and restart the alerta microservice.
    root@primary-node:/var/local/healthbot# ./healthbot restart --device-group healthbot -s alerta

    Now, you have enabled the Exim4 agent to send e-mails to the e-mail account associated with the primary node.

    To send e-mail alert notifications, you must configure your e-mail address in a notification profile and enable that notification profile on device groups. For more information, see Configure a Notification Profile.

    To e-mail reports, you must configure your e-mail address in the report settings. For more information, see Configure Destination Settings.