Skip to main content

In Flashduty On-call


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 alert events to different channels — it’s simpler.
  1. Go to the Flashduty console, select Channel, and enter a channel’s details page
  2. Select the Integrations tab, click Add Integration to enter the integration page
  3. Choose JD Cloud Monitoring integration and click Save to generate a card
  4. Click the generated card to view the Push URL, copy it for later use

Using shared integration

Choose this method when you need to route alerts to different channels based on the alert event payload.
  1. Go to the Flashduty console, select Integration Center => Alert Events to enter the integration selection page
  2. Select JD Cloud Monitoring integration:
    • Integration Name: Define a name for this integration
  3. Configure the default route and select the corresponding channel (after creation, go to Route to configure more routing rules)
  4. Click Save and copy the newly generated Push URL for later use

In JD Cloud


1

Create notification template

  1. Log in to the JD Cloud console, search for Monitoring, and enter the corresponding console
  2. In the left menu, select Alarm Management → Notice Templates, and create or edit a notification template
  3. Check Alert Callback and enter the integration push URL in the URL field
  4. Enter the following template content in the POST input box:
{
  "resource_id": "${resourceId}",
  "request_id": "${requestId}",
  "metric": "${metric}",
  "current_value": "${currentValue}",
  "times": "${times}",
  "tags": "${tags}",
  "alert_time": "${alertTime}",
  "region": "${region}",
  "threshold": "${threshold}",
  "service_code": "${serviceCode}",
  "as_group_id": "${asGroupId}",
  "unhealthy_instance": "${unhealthyInstance}",
  "rule_policy_id": "${rulePolicyId}",
  "service_code_en": "${serviceCodeEN}",
  "service_code_cn": "${serviceCodeCN}",
  "level": "${level}",
  "resource_name": "${resourceName}",
  "ip_address": "${ipAddress}",
  "status": "${status}"
}
  1. Configure other options as needed and click Save
2

Configure alert rules

  1. In the left menu, select Alarm Management → Alarm Rules, and create or edit an alert rule
  2. In the Notification Policy section, select Use Template and choose the template created in the previous step
  3. Configure other options as needed and click Save
3

Verify integration

Go back to the Flashduty console integration list page. If the latest event time is displayed, the configuration is successful and events are being received.

Severity mapping


JD Cloud Monitoring to Flashduty severity mapping:
JD Cloud MonitoringFlashdutyStatus
CriticalCriticalCritical
MajorWarningWarning
GeneralInfoInfo