ManageEngine® Applications Manager Configure Alarms | ||
These APIs allow an admin user to configure alarms in Applications Manager.
The parameters involved in executing this API request are:
Field | Description |
apikey | The key generated using the Generate API Key option in the 'Admin' tab. |
resourceid/monitorname | The resource ID of the monitor / monitorname. |
attributeid | The attribute ID of the alarm attribute to be configured. |
thresholdid/thresholdname | The ID or name of the threshold which will be assigned to attribute to configure alarm. |
criticalactionid/criticalactionname | The ID or name of action to notify critical condition of the attribute . |
warningactionid/warningactionname | The ID or name of action to notify warning condition of the attribute. |
clearactionid/clearactionname | The ID or name of action to notify clear condition of the attribute. |
requesttype | The request type. Possible values are 1 and 2. |
Note: to configure alarm for more than one attribute, specify attributes by comma separation. e.g: 402, 412, 413 |
For XML Response:
http://[ APM Host]:[APM Port]/AppManager/xml/configurealarms?apikey=[ API Key ]&resourceid=[resourceid of monitor]&attributeid=[attribute IDs]&thresholdid=[Threshold ID]&criticalactionid=[Action ID]&warningactionid=[Action ID]&clearactionid=[Action ID]&requesttype=[1/2]
For JSON Response:
http://[ APM Host]:[APM Port]/AppManager/xml/configurealarms?apikey=[ API Key ]&resourceid=[resourceid of monitor]&attributeid=[attribute IDs]&thresholdid=[Threshold ID]&criticalactionid=[Action ID]&warningactionid=[Action ID]&clearactionid=[Action ID]&requesttype=[1/2]
http://app-windows:59090/AppManager/xml/configurealarms?apikey=44b94e81455533ce7b06b97993b351a2&resourceid=10000026&attributeid=402,412,413&thresholdid=3&criticalactionid=10000004&warningactionid=10000004&clearactionid=10000004&requesttype=10
Business Hours |
Credential Manager |