API Doc
Search Docs...
⌘ K
OverviewDeploymentManagementOperationSecurityReferenceGlossary

Creating an in-observability email notification configuration

This section only describes how to create email notification configurations using the observability service. To ensure continuity of notifications, it is also recommended to configure internal email notifications within the cluster as a fallback alert channel for the observability service. When the observability service malfunctions, alert notifications will be sent by the cluster’s internal monitoring system. For specific instructions, refer to the Creating an in-cluster email notification configuration section.

Precaution

If an in-cluster email notification is configured, then upon associating with the observability service, the system automatically creates the corresponding notification channel in the observability service configuration and retains the existing in-cluster email notifications, thus exempting you from the following steps.

Prerequisite

  • The SMTP server has been set up and configured.
  • Ensure connectivity between the management IP of the observability virtual machine and the SMTP server.
  • The cluster and the system services that require configuring alert notifications have been associated with the observability service.

Procedure

  1. On the left sidebar of the AOC Alert page, select Notification configuration. Click Create notification configuration in the upper right corner of the page and then select Create email notification configuration to enter the configuration page.

  2. Select Observability service as the alert source.

  3. Set a name for the email notification configuration.

  4. Select the alert object.

  5. Specify the SMTP server, sender address, and recipient address for sending alert notifications accordingly.

    Parameter Description
    SMTP server

    Select an existing SMTP server or create a new SMTP server to send alert notification emails to the specified email address through the SMTP server.

    To create a new SMTP server, select Create SMTP server in the drop-down list and refer to the Management > AOC system configurations > Configuring the SMTP server section to complete the configuration.
    Sender address Specify an email address as the sender of alert notifications.
    Recipient address Specify one or multiple email addresses as the recipients of alert notifications. For multiple recipients, separate the addresses with the half-width comma (,).
    Send test email

    If the alert source is an observability service, click this button and the system will send a test email to the recipient address you specified.

    Information:

    The email notification configuration can be created only if the test email is delivered successfully.
  6. Select the alert level that triggers email notifications.

  7. (Optional) If you need to enable the email notification configuration during the creation process, select Enable configuration. You can also enable the configuration after creation.

  8. Click Create to complete the configuration.

After creating an email notification configuration, you can view information about all email notification configurations on the Email tab of the Notification configuration page, including in-cluster and in-observability configurations.