Web API Reference Guide > Available API Methods > Server and Cluster Management Methods > The daemonsProbe Method

The daemonsProbe Method

Retrieve a list of daemon restart states according to ZSD messages. This action presents a list of currently flagged daemons and the reason for their flaggin. Inclusion in this list usually indicates the daemon needs to be reloaded or restarted.

Version: 1.5

Required Permissions: Full

HTTP method: GET

Supported by Editions: All

Request Parameters: There are no request parameters for this method.

Expected Response Code: 202 Accepted. For more information see Response Format.

Response Type: daemonMessages=

Example

Usage Example

Request (headers removed for clarity)

GET /ZendServer/Api/daemonsProbe

Response

<?xml version="1.0" encoding="UTF-8"?>

<zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.5">

 

<requestData>

<apiKeyName>angel.eyes</apiKeyName>

<method>daemonsProbe</method>

</requestData>

 

<responseData>

<daemonMessages>

<daemonMessage>

<msgId>1234</msgId>

<nodeId>0</nodeId>

<context>daemon</context>

<key>scd</key>

<severity>warning</severity>

<details><![CDATA[{“message”: “error message”}]]></details>

<type>directiveModified</type>

</daemonMessage>

</daemonMessages>

</responseData>

</zendServerAPIResponse>

Important Note:

For Zend Server on Mac or Linux, this action is also available via the command line using CLI Tools. For more information see CLI Tools.

 

Read Also

  Available API Methods    
  Server and Cluster Management Methods