> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flashduty.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Alibaba Cloud ARMS Integration

> Sync Alibaba Cloud ARMS monitoring alerts to Flashduty via webhook for automated alert noise reduction

Sync Alibaba Cloud ARMS monitoring alerts to Flashduty via webhook for automated alert noise reduction.

<div class="hide">
  ## In Flashduty

  ***

  You can obtain an integration push URL through either of these two methods:

  ### Using Private Integration

  Choose this method when you don't need to route alerts to different channels. It's simpler and recommended.

  <details>
    <summary>Expand</summary>

    1. Go to the Flashduty console, select **Channel**, and enter a specific channel's details page
    2. Select the **Integration** tab, click **Add Integration** to enter the integration page
    3. Choose **Alibaba Cloud ARMS** integration and click **Save** to generate a card
    4. Click the generated card to view the **push URL**, copy it for later use, and you're done
  </details>

  ### Using Shared Integration

  Choose this method when you need to route alerts to different channels based on the alert payload information.

  <details>
    <summary>Expand</summary>

    1. Go to the Flashduty console, select **Integration Center=>Alerts** to enter the integration selection page
    2. Select **Alibaba Cloud ARMS** integration:
       * **Integration Name**: Define a name for this integration
    3. Configure the default route and select the corresponding channel (after the integration is created, you can go to `Route` to configure more routing rules)
    4. Click **Save** and copy the newly generated **push URL** for later use
    5. Done
  </details>
</div>

## In Alibaba Cloud ARMS

***

**Step 1: Configure Notification Target**

<div class="md-block">
  1. Log in to your Alibaba Cloud Console and select ARMS monitoring product
  2. Go to `Alert Management -> Notification Target` page, select `Webhook Integration`, and click the New Webhook button to start editing
  3. As shown in the image, set the target name, select `Post`, and copy-paste the integration push URL
  4. Add `Header`, enter `Content-Type` and `application/json`
  5. Enter `$alertmanager_content` in the notification template
  6. Click the Confirm button to save

  <img src="https://download.flashcat.cloud/flashduty/doc/en/aliyun/arms-1.png" alt="drawing" width="500" />

  **Step 2: Configure Notification Policy**

  1. Go to `Alert Management -> Notification Policy` page, click New Notification Policy or select an existing policy to edit
  2. As shown below, select the created `Generic Webhook` target on the `Notification Target` page
  3. Save and wait for alerts to trigger

  <img src="https://download.flashcat.cloud/flashduty/doc/en/aliyun/arms-2.png" alt="drawing" width="500" />
</div>

## Status Mapping

***

<div class="md-block">
  Alibaba Cloud ARMS monitoring to Flashduty alert severity mapping:

  | Alibaba Cloud ARMS | Flashduty | Status   |
  | ------------------ | --------- | -------- |
  | P1                 | Critical  | Critical |
  | P2                 | Warning   | Warning  |
  | P3                 | Warning   | Warning  |
  | P4                 | Info      | Info     |
</div>
