Email integration
Email integration is a feature of Event Hub that helps you manage all your alerts and events in one place. You can integrate alerts from sources such as semi-structured data, multiple scripts, and system configurations. All you need is an email address. Follow these steps to integrate your alert records.
Step 1: Find the email integration
On the Event Hub Integrations page, find the Email integration.
Step 2: Configure the recipient email address
{emailaddress}@email.aioscloud.com
Step 3: Confirm the integration
After you complete the configuration, return to the email integration page. Click Confirm Integration to complete the setup.
Field |
Field key |
Description |
Required |
Example |
Recipient address |
FromAddress |
A unique email address that receives the original alerts. |
Yes |
|
Subject |
Subject |
The name of the original event alert. This is similar to the alertname field in the original alert. |
Yes |
Problem Service Alert: Server1/HTTP is CRITICAL |
Message body |
MessageBody |
The content of the alert. Customize the email message body as needed. |
Yes |
{ "summary":"Cpu_util at 85.16% on machine 112.11.XXX.XX", "priority":"P1", "name":"High CPU usage warning", "timestamp":"2021-07-17 T08:42:58.315+0000", "region":"shanghai", "source":"112.11.***.**", "application":"zheda/mozi", "group":"online", "class":"Load", "details":{ "freeSpace":"1%", "pingTime":"1500ms", "loadAvg":"0.75" }, "tags":"{}" } |
Step 4: Verify the integration
After you confirm the integration, send an alert from your monitoring source or server to the specified email address. Ensure that the alert is sent successfully.
Go to the Integrations page. Check that the status of the email integration is "Alert Received". Verify that the content of the received alert matches the email that you sent. If both conditions are met, the integration is successful.