Skip to Content
User GuideCallback Alarm Content Description

Callback Alert Content Description

Network dial test supports pushing alert information generated by detection tasks to the callback address set by the specified notification group.

Callback Address Configuration

In Resource Monitoring - Notification Management, create a new notification group or edit an existing one, select the notification method as “Callback Interface,” and fill in the callback address (a publicly accessible URL) to which you want to push alert information.

Request Parameter Description

Alert Information

{ SessionID: "xxxxxxxxxxxxxxxxxxxxxxx", ResourceType: "UNDT", ResourceId: "xxxxxxxxxxxxxxxxxxxxxxx", MetricName: "Lost", AlarmTime: 1458733318, RecoveryTime : 0, Content:"Alert has been triggered for Network Dial Test monitoring, Detection Task: Callback Test 3 (bwdcmkq8wyryy), Detection Address: 8.8.8.8, Alert Level P0, Alert Type: First Alert, Alert Content: 【P0】Telecom-Shanghai-Shanghai to 8.8.8.8 Current Packet Loss: 100% Threshold: 50%" }

Recovery Information

{ SessionID: "xxxxxxxxxxxxxxxxxxxxxxx", ResourceType: "UNDT", ResourceId: "xxxxxxxxxxxxxxxxxxxxxxx", MetricName: "Lost", AlarmTime: 0, RecoveryTime : 1458733318, Content:"Network Dial Test alert has recovered, Detection Task: “Callback Test 3 (bwdcmkq8wyryy)”, Detection Address: 8.8.8.8, Alert Content: Telecom-Shanghai-Shanghai to 8.8.8.8 Current Packet Loss: 0%, Alert has recovered" }

Field Description

FieldField TypeDescription
SessionIDstringUnique identifier for this session
ResourceTypestringUNDT: Network Dial Test (UCloud Global Network DialTest)
ResourceIdstringDial test task ID
MetricNamestringMetric Name. Lost: packet loss rate; Rtt: latency.
AlarmTimeint64Alert time
RecoveryTimeint64Recovery time
ContentstringAlert content

Response

We need to receive a response like this to indicate that the user has successfully received the pushed information; otherwise, it will retry 2 more times:

{ SessionID: "xxxxxxxxxxxxxxxxxxxxxxx", RetCode: 0 }