Select to view content in your preferred language

Finding a Component Id in Monitor 2023.2.0

160
5
2 weeks ago
GrantSmith122
Regular Contributor

Hello, I am having some trouble setting up Notifications in Monitor 2023.2.0. I have a component (service) that is extremely critical to a high-stakes application we are rolling out. I would like to get a notification if that service fails to respond to a critical number of requests. I have the proper Alert set up and the threshold values defined, but when I go to create a Notification so I could get an email if the Alert is triggered, I have no idea what I am doing.

For the notification, I have it set to notify when Alerts = Updated And Component ID = ????. How do I find a given component's ID? I can't seem to find anything in the component's setting page, so I'm unsure how I would get this info. If anyone has ideas, please let me know.

0 Kudos
5 Replies
GrantSmith122
Regular Contributor

Okay so in the URL for a component I can find somenumbers: /arcgis/monitor/monitoring/components/7465058/metrics/438238. The 74 number is the component ID (I think), and the 43 number is the metric ID (I think). The issue I'm running into now is that when I attempt to input a Service's Component ID / Metric ID to the notification, the numbers aren't available. I must be missing something

0 Kudos
DerekLaw
Esri Esteemed Contributor

Hi @GrantSmith122

I haven't run ArcGIS Monitor 2023.2.0 in a long time, so I don't recall the UI/UX. 

Can you upgrade your ArcGIS Monitor instance to v. 2024.1.1 - the latest release? Not only does it contain many new feature enhancements and bug fixes, it also displays the component ID for components on their overview tab, like this:

service_overview.png

 

> ... but when I go to create a Notification so I could get an email if the Alert is triggered, I have no idea what I am doing. 

In Monitor 2024.1.1, you can create the notification this way,

  • Navigate to Administration > Notifications > Create Notification > type is Custom Notification
  • Provide a name and description
  • For Subscribe to Events,
    • Add Event
    • Alerts - Added

notification.png

  • For Condition
    • Component ID is [component ID of your service]
    • Status is Critical 

notification 2.png

Then you can input the email address and optionally enable a webhook.

Conceptually, you have enabled a notification to be created, whenever a new Alert with status critical is created for the service (based on the component ID). 

I am not 100% sure, but I believe the notification configuration experience in Monitor 2023.2.0 is similar. But as I said, it's been awhile.

Hope this helps,

 

 

 

 

0 Kudos
GrantSmith122
Regular Contributor

Hi Derek,

Thanks for the reply. I haven't considered upgrading but should maybe look into that. To confirm I cannot see something's ID in 2023.2 on the Overview tab.

What is strange to me is that I can (possibly) see the component ID for a given item in the URL, but those ID values then don't appear in the notification setup. That is what is tripping me up the most, and seems like unexpected behavior

0 Kudos
DerekLaw
Esri Esteemed Contributor

Hi @GrantSmith122,

I haven't considered upgrading but should maybe look into that.

FYI, ArcGIS Monitor 2023.2 was retired in Dec 2024. Please see the ArcGIS Monitor product life cycle document. I recommend you upgrade Monitor. 

> To confirm I cannot see something's ID in 2023.2 on the Overview tab.

Correct. We added this functionality in Monitor 2023.3, see the release blog (side note). 

What is strange to me is that I can (possibly) see the component ID for a given item in the URL, but those ID values then don't appear in the notification setup.

Perhaps when we enabled displaying the component ID on component overview pages in Monitor 2023.3, we also made it a queryable attribute field for configuring notifications? It's been over a year so I cannot recall exactly.

Can you at least upgrade to the Monitor 2023.3.1 release? I know moving to Monitor 2024.x is a bigger lift because of the requirement to install AM Agents on host machines.

Hope this helps,

 

0 Kudos
GrantSmith122
Regular Contributor

Hey Derek,

I upgraded to 2023.3.1, I can now more clearly see the component and metric ID values, but I am growing increasingly frustrated with how the IDs act. I've attached 2 screenshots of one of my components (map server on a standalone ArcGIS Server). Yesterday at 2:30 pm, the component ID was 11050569; this morning at 8:45 am the component ID has now changed to 11716560. How could this possibly be?

This is very frustrating since I spent a bunch of time yesterday setting up notifications for specific components and metrics, but now everything is broken because all the ID values change. I did not mess with any component registrations in ArcGIS Monitor and nothing was done to the ArcGIS Server overnight to cause any disruptions.

0 Kudos