ManageEngine® SQLDBManager Plus


Poll Now

<< Prev

Home

Next >>

PollNow API

 

This API allows you to poll a particular monitor.

Sample Request

http://[Host]:[Port]/AppManager/xml/PollNow?apikey=[APIKEY]&resourceid=[RESOURCEID]

 

Request Parameters

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.

Example

http://sqldbm-xp5:9433/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.

Top

 

 

<< Prev

Home

Next >>

Ping

UnManage