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 ADManager Plus?

                    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 ...
                      • Data Retention in Applications Manager

                        Following are the different types of data that are retained for generating reports in Applications Manager: Attribute data Polled data This comprises of the data collected for the attributes in each poll of the monitor. This data is used to generate ...
                      • REST API Monitor - FAQS

                        1. What should I do when Basic Authentication fails in REST API monitor? Verify if the credentials provided in the Applications Manager are correct. Try if sending username and password in Authorization request header works Get an BASE-64 encoded ...