> ## 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.

# Kingsoft Cloud monitoring integration

> Sync Kingsoft Cloud monitoring alerts to Flashduty On-call via webhook for automated alert noise reduction

Sync metric and event alerts from Kingsoft Cloud Monitoring to Flashduty On-call via webhook.

<div className="hide">
  ## In Flashduty On-call

  ***

  You can obtain an integration push URL through either of the following methods.

  ### Use a dedicated integration

  Choose this method when you do not need to route alerts to different channels.

  <AccordionGroup>
    <Accordion title="Expand">
      1. In the Flashduty console, select **Channel** and open a channel
      2. Select **Integrations**, then click **Add integration**
      3. Select **Kingsoft Cloud Monitoring**, then click **Save** to create the integration card
      4. Open the generated card and copy the **Push URL**
    </Accordion>
  </AccordionGroup>

  ### Use a shared integration

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

  <AccordionGroup>
    <Accordion title="Expand">
      1. In the Flashduty console, select **Integration Center → Alert Events**
      2. Select **Kingsoft Cloud Monitoring** and enter an integration name
      3. Configure the default route and select a channel; after creation, you can add more routing rules under **Route**
      4. Click **Save** and copy the generated **Push URL**
    </Accordion>
  </AccordionGroup>
</div>

## In Kingsoft Cloud

***

<Steps>
  <Step title="Configure the alert callback">
    1. Log in to the Kingsoft Cloud console and open **Cloud Monitoring**
    2. Select **Alarm Service → Alarm Policies**, then create a policy or edit an existing one
    3. Add an **Alarm Callback** on the policy configuration page and enter the Flashduty integration push URL
    4. Configure the remaining options as needed, then confirm and save the policy
  </Step>

  <Step title="Verify the integration">
    Return to the integration list in the Flashduty console. If the integration card displays a latest event time, Flashduty has received an alert from Kingsoft Cloud.
  </Step>
</Steps>

## Status and severity

***

Metric alerts support both firing and recovery notifications. Event alerts only send firing events and do not have corresponding recovery events.

| Kingsoft Cloud alert type | Kingsoft Cloud state | Flashduty status | Default severity |
| :------------------------ | :------------------- | :--------------- | :--------------- |
| Metric alert              | `alarmState = 1`     | Firing           | Warning          |
| Metric alert              | `alarmState = 0`     | Resolved         | Warning          |
| Event alert               | `alarmState = 1`     | Firing           | Warning          |

To use a different severity, configure an [Alert Processing Pipeline](/en/on-call/integration/alert-integration/alert-pipelines).

<Note>
  Kingsoft Cloud alert policies support multiple callback URLs. Enter the complete push URL displayed on the Flashduty integration card.
</Note>
