Select to view content in your preferred language

webhook payload question

618
5
Jump to solution
01-28-2026 11:27 AM
DominicRobergeIADOT
Frequent Contributor

Hello,

we have enabled the webhook on a few notifications (Alerts) setup based on Collection. We are able to get the payload, but how do we get the name of the service that is causing the notification to be triggered? Below is a copy of the payload we are receiving

 

DominicRobergeIADOT_0-1769628086269.png

 

according to the documentation (ArcGIS Monitor Information Model—ArcGIS Monitor | Documentation) should the payload has more attributes? (component_name,component_type, etc..).

We would be really interested in getting the name of the map service that is triggering the alert.

Any information you could provide would be much appreciated.

Thanks!

Dominic

 

 

 

0 Kudos
1 Solution

Accepted Solutions
StevenBeothy
Frequent Contributor

Hi @DominicRobergeIADOT 
I'm on AGM 2025.1 and still see the attributes you do when the Webhook is configured with Alerts (Added). To get some more details try updating your Subscribed Events to also include Metrics (Updated).
StevenBeothy_0-1769705475253.png

Using https://webhook.site/ to test I now see some additional useful details in the payload.

{
  "info": {
    "id": 5,
    "name": "Webhook",
    "monitor_url": "https://myserver.local:30443/arcgis",
    "version": "2025.1.0",
    "sent_at": "2026-01-29T16:52:05.015Z",
    "trace_id": "cmkzoz6dz00hza8hl9sym2fvw"
  },
  "events": [
    {
      "id": "cmkzoz4xn00hra8hl1d3lchpz",
      "operation": "update",
      "resource": "metrics",
      "occurred_at": "2026-01-29T16:52:03.131Z",
      "attributes": {
        "id": 6026,
        "created_at": "2024-01-02T17:47:57.262615+00:00",
        "r_id": "process_cpu_utilized:arcsoc.exe",
        "base_r_id": "process_cpu_utilized",
        "component_id": 340866,
        "observer_id": 30,
        "status": 0,
        "is_alerting_enabled": true,
        "aggregation": "avg",
        "operator": ">",
        "samples": 3,
        "info_threshold": null,
        "warning_threshold": 75,
        "critical_threshold": 90,
        "name": "Process CPU Utilized - arcsoc.exe"
      }
    },
    {
      "id": "cmkzoz4xn00hsa8hldpd16ugu",
      "operation": "update",
      "resource": "metrics",
      "occurred_at": "2026-01-29T16:52:03.131Z",
      "attributes": {
        "id": 6007,
        "created_at": "2024-01-02T17:47:57.262615+00:00",
        "r_id": "cpu_utilized",
        "base_r_id": "cpu_utilized",
        "component_id": 340866,
        "observer_id": 30,
        "status": 0,
        "is_alerting_enabled": true,
        "aggregation": "avg",
        "operator": ">",
        "samples": 3,
        "info_threshold": null,
        "warning_threshold": 75,
        "critical_threshold": 90,
        "name": "CPU Utilized"
      }
    },
    {
      "id": "cmkzoz4xn00hta8hl9t4477ud",
      "operation": "update",
      "resource": "metrics",
      "occurred_at": "2026-01-29T16:52:03.131Z",
      "attributes": {
        "id": 12637,
        "created_at": "2024-08-29T22:02:04.852659+00:00",
        "r_id": "process_cpu_utilized:arcsoc.exe:SampleWorldCities.MapServer",
        "base_r_id": "process_cpu_utilized",
        "component_id": 340866,
        "observer_id": 30,
        "status": 0,
        "is_alerting_enabled": true,
        "aggregation": "avg",
        "operator": ">",
        "samples": 3,
        "info_threshold": null,
        "warning_threshold": 75,
        "critical_threshold": 90,
        "name": "Process CPU Utilized - arcsoc.exe - SampleWorldCities.MapServer"
      }
    }
  ]
}

 

View solution in original post

5 Replies
MarlonAmaya
Esri Contributor

Hi @DominicRobergeIADOT ,

 

Here is the doc for payload properties - https://doc.arcgis.com/en/monitor/latest/get-started/windows/notification-webhook-payloads.htm

 

If the value you desire is not listed, please open a support ticket and see if there is already an ENH logged or ask for a new ENH to be submitted with proper use case. Thank you

DominicRobergeIADOT
Frequent Contributor

@MarlonAmaya  Yes I had the documentation and below are the fields that are listed in the Alerts attributes and a bunch are missing

DominicRobergeIADOT_0-1769695380602.png

DominicRobergeIADOT_2-1769695480522.png

 

 

 

0 Kudos
StevenBeothy
Frequent Contributor

Hi @DominicRobergeIADOT 
I'm on AGM 2025.1 and still see the attributes you do when the Webhook is configured with Alerts (Added). To get some more details try updating your Subscribed Events to also include Metrics (Updated).
StevenBeothy_0-1769705475253.png

Using https://webhook.site/ to test I now see some additional useful details in the payload.

{
  "info": {
    "id": 5,
    "name": "Webhook",
    "monitor_url": "https://myserver.local:30443/arcgis",
    "version": "2025.1.0",
    "sent_at": "2026-01-29T16:52:05.015Z",
    "trace_id": "cmkzoz6dz00hza8hl9sym2fvw"
  },
  "events": [
    {
      "id": "cmkzoz4xn00hra8hl1d3lchpz",
      "operation": "update",
      "resource": "metrics",
      "occurred_at": "2026-01-29T16:52:03.131Z",
      "attributes": {
        "id": 6026,
        "created_at": "2024-01-02T17:47:57.262615+00:00",
        "r_id": "process_cpu_utilized:arcsoc.exe",
        "base_r_id": "process_cpu_utilized",
        "component_id": 340866,
        "observer_id": 30,
        "status": 0,
        "is_alerting_enabled": true,
        "aggregation": "avg",
        "operator": ">",
        "samples": 3,
        "info_threshold": null,
        "warning_threshold": 75,
        "critical_threshold": 90,
        "name": "Process CPU Utilized - arcsoc.exe"
      }
    },
    {
      "id": "cmkzoz4xn00hsa8hldpd16ugu",
      "operation": "update",
      "resource": "metrics",
      "occurred_at": "2026-01-29T16:52:03.131Z",
      "attributes": {
        "id": 6007,
        "created_at": "2024-01-02T17:47:57.262615+00:00",
        "r_id": "cpu_utilized",
        "base_r_id": "cpu_utilized",
        "component_id": 340866,
        "observer_id": 30,
        "status": 0,
        "is_alerting_enabled": true,
        "aggregation": "avg",
        "operator": ">",
        "samples": 3,
        "info_threshold": null,
        "warning_threshold": 75,
        "critical_threshold": 90,
        "name": "CPU Utilized"
      }
    },
    {
      "id": "cmkzoz4xn00hta8hl9t4477ud",
      "operation": "update",
      "resource": "metrics",
      "occurred_at": "2026-01-29T16:52:03.131Z",
      "attributes": {
        "id": 12637,
        "created_at": "2024-08-29T22:02:04.852659+00:00",
        "r_id": "process_cpu_utilized:arcsoc.exe:SampleWorldCities.MapServer",
        "base_r_id": "process_cpu_utilized",
        "component_id": 340866,
        "observer_id": 30,
        "status": 0,
        "is_alerting_enabled": true,
        "aggregation": "avg",
        "operator": ">",
        "samples": 3,
        "info_threshold": null,
        "warning_threshold": 75,
        "critical_threshold": 90,
        "name": "Process CPU Utilized - arcsoc.exe - SampleWorldCities.MapServer"
      }
    }
  ]
}

 

DominicRobergeIADOT
Frequent Contributor

@StevenBeothy  thank you for the quick response

we are at 2025.0, our notifications are setup based on Collections, so I don't have the "Metrics" option available.

DominicRobergeIADOT_0-1769708637423.png

Is the Metrics option only available to Custom Notification?

I did create a dummy Custom notification, I was able to add the Metrics option, but I don't get the service name in the name attribute like you do....

DominicRobergeIADOT_1-1769709234190.png

 

What am I missing?

0 Kudos
StevenBeothy
Frequent Contributor

Sorry I should have mentioned I was creating a Custom Notification.
See if the following might work for your needs.
I added Alerts (Added), Metrics (Updated) and Components (Updated) to my Custom Notification Subscribed Events.

StevenBeothy_0-1770068589876.png

The a sample result is below where I can see that I had "connectivity" Alert with "component_id": 496583,
the component webhook then tells me "id": 496583 is my"name": "Team AGOL" connection.

{
  "info": {
    "id": 5,
    "name": "Webhook",
    "monitor_url": "https://*****.***ad.local:30443/arcgis",
    "version": "2025.1.0",
    "sent_at": "2026-02-02T21:25:10.007Z",
    "trace_id": "cml5ohrsm00e6v8hlbsti558x"
  },
  "events": [
    {
      "id": "cml5ohpka00e2v8hlfvndg51u",
      "operation": "update",
      "resource": "metrics",
      "occurred_at": "2026-02-02T21:25:07.119Z",
      "attributes": {
        "id": 118797,
        "created_at": "2025-11-24T19:21:30.010107+00:00",
        "r_id": "connectivity",
        "base_r_id": "connectivity",
        "component_id": 496583,
        "observer_id": null,
        "status": 3,
        "is_alerting_enabled": true,
        "aggregation": "avg",
        "operator": "<",
        "samples": 2,
        "info_threshold": null,
        "warning_threshold": null,
        "critical_threshold": 100,
        "name": "Connectivity"
      }
    },
    {
      "id": "cml5ohqcc00e3v8hl0qnb1vwb",
      "operation": "add",
      "resource": "alerts",
      "occurred_at": "2026-02-02T21:25:08.124Z",
      "attributes": {
        "id": 2781,
        "created_at": "2026-02-02T21:25:08.117449+00:00",
        "opened_at": "2026-02-02T21:25:08.116+00:00",
        "closed_at": null,
        "metric_id": 118797,
        "observer_id": null,
        "component_id": 496583,
        "state": "pending",
        "status": 3,
        "aggregation": "avg",
        "operator": "<",
        "samples": 2,
        "info_threshold": null,
        "warning_threshold": null,
        "critical_threshold": 100
      }
    },
    {
      "id": "cml5ohqcm00e4v8hlhntd554y",
      "operation": "update",
      "resource": "components",
      "occurred_at": "2026-02-02T21:25:08.134Z",
      "attributes": {
        "id": 496583,
        "created_at": "2025-11-24T19:21:20.392549+00:00",
        "system_id": "290dg1gmwtlthd6i",
        "name": "Team AGOL",
        "description": null,
        "type": "arcgis_online",
        "subtype": null,
        "address_internal": "https://****.maps.arcgis.com",
        "status": 3,
        "properties": {
          "version": "",
          "is_remote": true
        },
        "state": "monitored",
        "connection_id": 15
      }
    }
  ]
}

If this doesn't work for you, you can make an Enhancement Request on the ArcGIS Monitor Ideas page.
I believe this request already matches what you maybe looking for so you can also upvote it.