This API allows the user to associate monitor to monitor group configured in Applications Manager.
https://[HOST]:[PORT]/AppManager/xml/AssociateMonitortoMG?apikey=[apikey]&resourceid=[ids]&haid=[groupid]
[ OR ]
https://[HOST]:[PORT]/AppManager/xml/AssociateMonitortoMG?apikey=[apikey]&resourceid=[ids]&mgname=[groupname]
Supported HTTP methods: POST
Allowed roles: Administrator
The parameters involved in the API request are described below:
Field | Description |
---|---|
resourceid | The resource ids of monitor, monitor group, sub group which you want to associate to corresponding groups, separated by commas. |
haid | The resourceid for the monitor group to which the monitor group, sub group, monitor has to be associated, separated by commas. |
mgname | Group name for the monitor group to which the monitor group, sub group, monitor has to be associated |
allowCreateMG | Value is true by default. If set to false, this prevents the default creation of a new Monitor Group if mgname is provided in the request and no Monitor Group with this name is present. |
https://apm-prod-server:8443/AppManager/xml/AssociateMonitortoMG?apikey=aaaaaabbbbbbccccccddddddeeeeee&resourceid=10000095,10000170&haid=10000169