WebAPI Reference Guide > Available API Methods > Server and Cluster Management Methods > The daemonProbe Method

The daemonProbe 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 /ZendServerManager/Api/daemonProbe

Response

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

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

 

<requestData>

<apiKeyName>angel.eyes</apiKeyName>

<method>restartDaemon</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.

 

 

Related Links

Related Links:

Server and Cluster Management Methods 

 

 

 

 

 

Related Links

Related Links:

 

 

 

© 1999-2013 Zend Technologies, Ltd. All rights reserved.