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

                      Here are few of the common errors you may come across in URL monitor, we have mentioned the steps you can follow to troubleshoot them. General troubleshooting for URL monitor Ensure that the URL is accessible from the server in which Applications ...
                    • 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 ...
                    • Real User Monitor (RUM) - Troubleshooting

                      If the monitor has not polled data for a long time, follow the steps below for troubleshooting: Step 1: Check the RUM Agent configuration Real User Monitor requires the RUM Agent to be installed and mapped to the Applications Manager. Refer the help ...
                    • 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 ...