ManageEngine® Applications Manager PollNow API | ||
This API allows you to poll a particular monitor.
http://[Host]:[Port]/AppManager/xml/PollNow?apikey=[APIKEY]&resourceid=[RESOURCEID]
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 | The resource id of the monitor that needs to be polled. |
http://app-xp5:9099/AppManager/xml/PollNow?apikey=123b7328e4b41d1efe64aa7980d83d77&resourceid=10000293
Example Output:
<AppManager-response uri="/AppManager/xml/PollNow"> <result> <response method="PollNow"> <message>The monitor polled successfully.</message> </response> </result> </AppManager-response> |
If the API is not executed correctly, the request will fail and errors will be shown as given below:
<AppManager-response uri="/AppManager/xml/PollNow"> <result> <response response-code="4037"> <message>Improper resourceid in the request.</message> </response> </result> </Apm-response> |
Refer this page for a list of common error conditions.
Ping API |
UnManage API |