Docs
uantiddos
Blocking Cleaning Warning Callback Description

Blocking and Cleaning Alarm Callback Description

When an external IP is blocked or cleaned, corresponding alarm information will be generated, and you can subscribe to these two types of alarm information by configuring callbacks.

Blocking Alarm Callback Configuration

  1. In Resource Monitoring UMon -> Message Subscription -> Subscription Management -> IP Blocking, click on the setting button on the right.
  1. In the pop-up subscription settings box, check the callback button and fill in the corresponding callback address.
  1. For callback interface description, please refer to https://docs.ucloud.cn/umon/guide/webhook The message content format is as follows:
{
    "Title": "IP Blocking Alarm",
    "SessionId": "4356840c-661b-44e2-8449-e5674209069e",
    "TopicName": "ip_blocking",
    "TopicNameCn": "IP Blocking",
    "CustomInfo": "{\"EIPId\":\"eip-mcxxxx38\",\"Ip\":\"x.x.x.x\",\"PeakBps\":\"2032.00\",\"ProjectId\":\"org-4g5111\",\"Region\":10010,\"RegionZh\":\"Dubai\",\"Time\":\"2023-08-08 17:15:40\",\"Type\":\"StartBlocking\"}",
    "Content": "xxx (alarm content)",
    "Signature": "xxx"
}
Note:
The above fields are for reference only and are subject to the actual alarm.
The units of PeakBps and PeakPps are Mbps and Kpps respectively.

Cleaning Alarm Callback Configuration

  1. In Resource Monitoring UMon -> Message Subscription -> Subscription Management -> IP Traffic Cleaning Alarm, click on the setting button on the right.
  1. In the pop-up subscription settings box, check the callback button and fill in the corresponding callback address.
  1. For callback interface description, please refer to https://docs.ucloud.cn/umon/guide/webhook The message content format is as follows: (Mainly focus on the CustomInfo field, the other fields are subject to the actual alarm, and the units of PeakBps and PeakPps are Mbps and Kpps respectively)
{
    "Title": "IP Cleaning Alarm",
    "SessionId": "6b54fb76-d304-4699-ac16-ae87a0b6a74b",
    "TopicName": "ip_clean_alarm",
    "TopicNameCn": "IP Traffic Cleaning Alarm",
    "CustomInfo": "{\"CleanType\":\"UDP_FRAG|R_CLDAP_FLOOD\",\"EIPId\":\"eip-mcxxxx38\",\"Ip\":\"x.x.x.x\",\"PeakBps\":\"2032.72\",\"PeakPps\":\"226.89\",\"ProjectId\":\"org-4g5111\",\"Region\":10010,\"RegionZh\":\"Dubai\",\"Time\":\"2023-08-08 17:15:38\",\"Type\":\"StartClean\"}",
    "Content": " xxx(alarm content)",
    "Signature": ""
}
{
    "Title": "IP Cleaning Removal Alarm",
    "SessionId": "6b54fb76-d304-4699-ac16-ae87a0b6a74b",
    "TopicName": "ip_clean_alarm",
    "TopicNameCn": "IP Traffic Cleaning Alarm",
    "CustomInfo": "{\"CleanType\":\"UDP_FRAG|R_CLDAP_FLOOD\",\"EIPId\":\"eip-mcxxxx38\",\"Ip\":\"x.x.x.x\",\"PeakBps\":\"2032.72\",\"PeakPps\":\"226.89\",\"ProjectId\":\"org-4g5111\",\"Region\":10010,\"RegionZh\":\"Dubai\",\"Time\":\"2023-08-08 17:15:38\",\"Type\":\"StopClean\"}",
    "Content": " xxx(alarm content)",
    "Signature": ""
}
Note:
The above fields are for reference only and are subject to the actual alarm.
The units of PeakBps and PeakPps are Mbps and Kpps respectively.