The daemonsProbe Web API 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
|
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> |
For Zend Server on Linux, this action is also available via the command line using CLI tools. For more information, see ZendServerSDK.