Alibaba Cloud ARMS integration
This topic describes how to integrate an Alibaba Cloud ARMS monitoring source.
Introduction
Application Real-Time Monitoring Service (ARMS) is an application performance management (APM) product from Alibaba Cloud. You can integrate ARMS with the O&M Event Center to manage alerts and events in a centralized location. Follow the steps in this topic to integrate alert records.
Integrate ARMS
Step 1: Find the ARMS monitoring source and confirm the integration
Navigate to O&M Event Center > Integration Hub > Integration Configuration. Find and click the ARMS monitoring source to open the Add Integration page. Follow the on-screen instructions to complete the integration.
Step 2: Create a notification recipient
1. In the ARMS console, navigate to Alert Management > Notification Recipient > Webhook Integration and click New Webhook.
2. Push data to the following URL using the POST method:
https://public-alert.aliyuncs.com/event/arms/{integration_key}
You can find the alert callback URL on the O&M Event Hub > Integration Configuration page in the View Details section for Cloud Monitor.
3. In the header, set Content-Type to application/json.
4. In the Notification Template field, enter {"content":"$content"}. Leave the Recovery Template field empty.
5. Click Send Test. Confirm that the returned status code is `200` and the returned content is `success`.
Step 3: Create a notification policy
Navigate to Alert Management > Notification Policy and click New Notification Policy. In the third step of the wizard, set Notification Recipient to General Webhook and select the recipient that you created.
Step 4: Create an alert rule
In the ARMS console, navigate to Application Monitoring > Alert Rules and click Create Alert Rule. For Notification Policy, select the policy that you created in the previous step.
The preceding steps describe how to configure alert push methods for services such as Application Monitoring and Browser Monitoring. To create an alert rule, navigate to the Alert Rule submenu for the specific monitoring type.
Step 5: Verify the integration
1. In the ARMS console, navigate to Alert Management > Alert History and check the history to verify that alerts are pushed to the O&M Event Center.
2. In Alibaba Cloud ARMS, configure alerting and push rules, and then trigger an alert. Navigate to the Integration Configuration page in the O&M Event Center console. The integration is successful if the status of the Alibaba Cloud ARMS monitoring source is Accepted.