If you specify an alert callback URL for an alert rule, and you can receive alert notifications only with emails, troubleshoot the issue by following the steps provided in this topic.
Procedure
Log on to the Cloud Monitor console.
In the left-side navigation pane, choose .
On the Alert History page, find the historical alert whose alert notification cannot be received by using the specified alert callback based on the alert occurrence time, cloud service, and keyword, and then click Notification Contacts.
On the Notification Contacts tab of the Resource/Alert Rules/Notification Contacts panel, move the pointer over the
icon to view the details of the callback failure. Handle the alert callback failure.
If you enable a firewall for your cloud service, check whether an IP address whitelist is configured for Cloud Monitor.
For information about the firewall whitelist for threshold-triggered alerts, see Use the alert callback feature to send notifications about threshold-triggered alerts.
For information about the firewall whitelist for system event-triggered alerts, see Configure callbacks for system event-triggered alerts (old).
Different alert rules obtain different part of alert data. In this case, you can receive alert notifications for cloud services by using alert callbacks but may not receive alert data.
Alert notifications for threshold-triggered alerts are sent to specific callback URLs in the following key-value pair format:
Content-Type: application/x-www-form-urlencoded. For information about the parameters, see Result.Alert notifications for system event-triggered alerts are sent to specific callback URLs in the following JSON format:
Content-Type: application/json. For more information about the parameters, see Result.