How to find out the resource ID of a monitor/monitor group in Applications Manager?

How to find out the resource ID of a monitor/monitor group in Applications Manager?

While executing the REST API in Applications Manager, you might need to mention the resource ID for a monitor or a monitor group. Following are the parameters used for referring to a monitor or monitor group in a REST API:

resourceid - Resource ID of a monitor
haid - Resource ID of a monitor group

You can find out the resource ID of a monitor or monitor group using any of the following methods:

Using URL

You can find the resource ID of a monitor/monitor group directly by accessing the required monitor or monitor group from the Applications Manager UI and identifying the resourceid or haid from the URL of that monitor/monitor group page directly.
Note: This method will not be applicable for users with Applications Manager Plugin (APM Plugin) setup.
Resource ID of a Monitor (resourceid):
Preview
Resource ID of a Monitor Group (haid):
Preview

Using Query Tool 

Alternatively, you can find the resource ID of the monitor/monitor group using the DB Query Tool from the Applications Manager UI. To do so, navigate to Settings tab -> Tools -> Support -> Database Summary -> Query Tool. Then execute the following query to obtain the resource ID of the monitor/monitor group along with their display name from the results:

Query for Monitor (resourceid):
SELECT MO.RESOURCEID, MO.DISPLAYNAME, MO.TYPE FROM AM_ManagedObject MO JOIN AM_ManagedResourceType ON TYPE=RESOURCETYPE WHERE TYPE NOT IN ('HAI', 'Network')

Query for Monitor Group (haid):
SELECT RESOURCEID,DISPLAYNAME FROM AM_ManagedObject WHERE TYPE='HAI'



                  New to ADSelfService Plus?

                    • Related Articles

                    • Self monitor Applications Manager using Real User Monitoring

                      We can monitor the Applications Manager using Real User Monitoring with a Java Script injection and this can be used to measure the Applications Manager's performance continuously. All you need is to install and setup the Real User Monitoring (RUM) ...
                    • Troubleshooting URL Monitor

                      When configuring a URL monitor in Applications Manager, you might encounter several errors related to accessibility, configuration, or server-side issues. Below are common errors along with step-by-step troubleshooting instructions to help you ...
                    • Self monitor Applications Manager using APM Insight Java Agent

                      Applications Manager is built with Java, hence we can monitor it using APM Insight Java Agent to measure it's performance continuously, which can be very much useful. Setting up APM Insight Java Agent Follow the below steps to download and set up the ...
                    • DNS Monitor - Troubleshooting

                      Common DNS Monitor Errors and Troubleshooting Guide 1. Host Not Found Description: The DNS server was unable to locate the requested lookup address. Possible Causes: This may happen if the hostname is incorrect, the domain does not exist, or there is ...
                    • Mail Server Monitor - Troubleshooting

                      Common Mail Server Monitor Errors and Troubleshooting Guide 1. Unknown Host Error Description: This error occurs when the mail client cannot resolve the hostname of the mail server to an IP address. The issue typically arises from DNS resolution ...