This section explains how to integrate an email server with Qumulo Alerts and test the integration.

To Integrate an Email Server with Qumulo Alerts and Test the Integration by Using the Qumulo Alerts Web UI

  1. On the sidebar, under Servers, click Email Server.

  2. Enter the SMTP configuration details:

    1. For SMTP Server, enter the hostname or IP address of your SMTP server (for example, mail.example.com).

    2. For Port, select the SMTP server port.

    3. For From Address, select the email address to appear in the From field of outgoing notifications (for example, alerts@example.com).

    4. For Security, select the connection security type.

    5. (Optional) For Username, enter the username for SMTP authentication.

    6. (Optional) For Password, enter the password for SMTP authentication.

    7. For To Address (used only for testing the connection), enter the email address to receive the test message when you click Test Connection.

    8. For Default Language, enter a supported language locale to use for notification email templates when a user-level language isn’t configured.

    9. For Default Timezone, enter the the time zone for formatting timestamps in notification emails when a user-level timezone isn’t configured.

  3. Click Save Configuration.

  4. Click Test Connection.

  5. Qumulo Alerts sends a test message to the configured email address.

    • If the test succeeds, a confirmation message appears.

    • If the test fails, check the configuration details.

To Integrate an Email Server with Qumulo Alerts and Test the Integration by Using the alerts CLI

  1. Run the ./alerts email_server_add command and specify the sender’s email address, recipient’s email address, email server hostname and port, language, and time zone. For example:

    ./alerts email_server_add \
      --from-addr alerts@example.com \
      --to-addr name@example.com \
      --server mail.example.com \
      --port 25
      --language en_US
      --timezone "America/Los_Angeles"
    

    The following is example output.

     [{
       "from_address": "alerts@example.com",
       "language": "en_US",
       "login": null,
       "password": null,
       "port": 25,
       "security": null,
       "server": "mail.example.com",
       "timezone": "America/Los_Angeles",
       "to_address": "name@example.com"
     }]
    
  2. Run the ./alerts email_server_test command.

    A successful response returns the [{ "ok": true }] JSON output.