ManageEngine® Applications Manager Threshold Configuration | ||
These APIs allow an admin user to configure thresholds in Applications Manager. Threshold Configuration APIs are designed to support GET and POST requests:
The parameters involved in executing this API request are:
Field | Description |
thresholdname |
The threshold display name. If the display name of threshold / action contains a special character like # , & or + :
while passing the thresholdname in the RESTAPI. |
criticalcondition, warningcondition, clearcondition |
Possible Values for conditions are:
|
criticalvalue, clearvalue, warningvalue |
Values for critical, clearvalue or warning state. |
criticalpolls, warningpolls, clearpolls |
Value denoting critical, clearvalue or warning polls. |
warningmessage, clearmessage, criticalmessage |
Message to notify the user of a warning, critical or clear condition. |
Type | The type of threshold. Possible values are:
|
This API allows an admin user to add thresholds in Applications Manager.
For XML Response:
http://[ APM Host ]:[ APM Port ]/AppManager/xml/threshold?apikey=[ API Key ]&clearvalue=[ Clear Value ]&criticalpolls=[ Critical Polls ]&clearcondition=[ Clear Condition ]&criticalmessage=[ Critical Message ]&thresholdname=[ Threshold name ]&clearmessage= [Clear Message ]&type=1&criticalcondition=GT&warningcondition=GT&warningmessage=Warning Message&warningpolls=[ Warning Polls ]&clearpolls=[ Clear polls ]&warningvalue=[ Warning Value ]&criticalvalue=[ Critical Value ]
For JSON Response:
http://[ APM Host ]:[ APM Port ]/AppManager/json/threshold?apikey=[ API Key ]&clearvalue=[ Clear Value ]&criticalpolls=[ Critical Polls ]&clearcondition=[ Clear Condition ]&criticalmessage=[ Critical Message ]&thresholdname=[ Threshold name ]&clearmessage= [Clear Message ]&type=1&criticalcondition=GT&warningcondition=GT&warningmessage=Warning Message&warningpolls=[ Warning Polls ]&clearpolls=[ Clear polls ]&warningvalue=[ Warning Value ]&criticalvalue=[ Critical Value ]
http://app-windows:59090/AppManager/xml/threshold?apikey=09eebdd6893db4d20e16b84dff6664f1&clearvalue=5&criticalpolls=3&clearcondition=EQ&criticalmessage=Critical message&thresholdname=Sample Threshold&clearmessage=Clear Message&type=1&criticalcondition=GT&warningcondition=GT&warningmessage=Warning Message&warningpolls=3&clearpolls=3&warningvalue=15&criticalvalue=5
This API allows an admin user to edit the thresholds added in Applications Manager.
For XML Response:
http://[ APM Host ]:[ APM Port ]/AppManager/xml/threshold?apikey=[ API Key ]&clearvalue=[ Clear Value ]&criticalpolls=[ Critical Polls ]&clearcondition=[ Clear Condition ]&criticalmessage=updated message&clearmessage=&type=1&criticalcondition=GT&warningcondition=GT&warningmessage=&warningpolls=0&description=&newthresholdname=Sample Threshold&clearpolls=[ Warning Polls ]&thresholdid=[ Threshold Id ] &warningvalue=[ Warning Value&criticalvalue=[ Critical Value]
For JSON Response:
http://[ APM Host ]:[ APM Port ]/AppManager/json/threshold?apikey=[ API Key ]&clearvalue=[ Clear Value ]&criticalpolls=[ Critical Polls ]&clearcondition=[ Clear Condition ]&criticalmessage=updated message&clearmessage=&type=1&criticalcondition=GT&warningcondition=GT&warningmessage=&warningpolls=0&description=&newthresholdname=Sample Threshold&clearpolls=[ Warning Polls ]&thresholdid=[ Threshold Id ] &warningvalue=[ Warning Value&criticalvalue=[ Critical Value]
http://app-windows:59090/AppManager/xml/threshold?apikey=09eebdd6893db4d20e16b84dff6664f1&clearvalue=5&criticalpolls=0&clearcondition=GT&criticalmessage=updated message&clearmessage=&type=1&criticalcondition=GT&warningcondition=GT&warningmessage=&warningpolls=0&description=&newthresholdname=Sample Threshold&clearpolls=0&thresholdid=10001&warningvalue=5&criticalvalue=5
This API allows an admin user to delete thresholds in Applications Manager.
For XML Response:
http://[ APM Host ]:[ APM Port ]/AppManager/xml/threshold?apikey=[ API Key ]&thresholdid=[ Threshold Id=],&TO_DELETE=true
For JSON Response:
http://[ APM Host ]:[ APM Port ]/AppManager/json/threshold?apikey=[ API Key ]&thresholdid=[ Threshold Id=],&TO_DELETE=true
http://app-windows:59090/AppManager/xml/threshold?apikey=09eebdd6893db4d20e16b84dff6664f1&thresholdid=10001,10003,10002,10000,&TO_DELETE=true
This API allows an admin user to list down the thresholds in Applications Manager.
For XML Response:
http://[ APM Host ]:[ APM Port ]/AppManager/xml/threshold?apikey=[ API Key ]
For JSON Response:
http://[ APM Host ]:[ APM Port ]/AppManager/json/threshold?apikey=[ API Key ]
http://app-windows:59090/AppManager/xml/threshold?apikey=09eebdd6893db4d20e16b84dff6664f1
Mail Server Configuration |
Error Handling |