This API allows the user to associate monitor to monitor group configured in Applications Manager.
http://[host]:[port]/AppManager/xml/AssociateMonitortoMG?apikey=[apikey]&resourceid=[ids]&haid=[groupid]
[ OR ]
http://[host]:[port]/AppManager/xml/AssociateMonitortoMG?apikey=[apikey]&resourceid=[ids]&mgname=[groupname]
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. |
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. |
http://app-windows:9090/AppManager/xml/AssociateMonitortoMG?apikey=98597c390e092add5d53466794a769eb &resourceid=10000095,10000170&haid=10000169