Alert request

When an alert is triggered, a sample payload, as shown below, will be available at the configured URL:

Request:
https://test-service-now.com/api/dms_webhook
The Payload sent to the above URL:
{
"receiver": "00101000005nBps_test1",
"status": "firing",
"alerts": [
{
"status": "firing",
"labels": {
"account_id": "00101000005nBps",
"alert_category": "BackupRestore",
"alert_code": "CE00610005",
"alert_id": "10534",
"alert_state": "Open",
"alert_type_bucket": "DataService",
"alert_type_id": "10005",
"alertname": "ProtectedObjectFailed",
"cluster_id": "1609127048663690",
"cluster_id_str": "4327092961767844",
"cluster_name": "DPCluster",
"failure_reason": "Testing DP alerts raise.",
"first_occurrence_usecs": "1682699539084721",
"hidden_from_user": "false",
"job_id": "18211",
"job_name": "Test12",
"job_type": "kOracle",
"matchedTags": "WorkloadSource_kOracle",
"object_id": "181",
"object_name" : "obj181",
"run_id": "182",
"run_start_time": "2023.02.07 11:21:00 Pacific Time",
"run_url": "https://test.com",
"severity": "Critical",
"tenant_id": "d520840916/",
"type": "kOracle"
},
"annotations": {
"cause": "Testing DP alerts raise..",
"description": "Backup of obj181 that is part of protection group Test12 of
type kOracle failed with error Testing DP alerts raise",
"help": "Please refer to KB for details/resolution.",
"occurrence": "Start at 2023-04-28 16:32:19.084721 +0000 UTC, total 1 time."
},
"startsAt": "2023-04-28T16:32:19.084721Z",
"endsAt": "0001-01-01T00:00:00Z",
"generatorURL": "",
"fingerprint": "bfef9abae71570f0"
}
],
"groupLabels": {
"account_id": "00101000005nBps",
"alertname": "ProtectedObjectFailed",
"severity": "Critical"
},
"commonLabels": {
"account_id": "00101000005nBps",
"alert_category": "BackupRestore",
"alert_code": "CE00610005",
"alert_state": "Open",
"alert_type_bucket": "DataService",
"alert_type_id": "10005",
"alertname": "ProtectedObjectFailed",
"cluster_id": "1609127048663690",
"cluster_id_str": "4327092961767844",
"cluster_name": "DPCluster",
"failed_objects": "obj181",
"failure_reason": "Testing DP alerts raise.",
"hidden_from_user": "false",
"job_id": "18211",
"job_type": "kOracle",
"matchedTags": "WorkloadSource_kOracle",
"run_start_time": "2023.02.07 11:21:00 Pacific Time",
"run_url": "https://test.com",
"severity": "Critical",
"tenant_id": "d520840916/",
"type": "kOracle"
},
"commonAnnotations": {
"help": "Please refer to KB for details/resolution."
},
"externalURL": "https://dms-dev3-internal.ibmcloud.co/alertmanagerd1",
"version": "4",
"groupKey": "{}/{account_id=\"00101000005nBps\",alertname=~\"^(?:ProtectedObjectFailed)$\",
hidden_from_user=\"false\",matchedTags=~\"^(?:.*WorkloadSource_
kOracle.*)$\",tenant_id=\"d520840916/\"}:{account_
id=\"00101000005nBps\", alertname=\"ProtectedObjectFailed\", severity=\"
Critical\"}",
"truncatedAlerts": 0
}