Diagnostics¶
Overview¶
Note: Diagnostics is an extension and needs to be enabled before it can be used. If Designate returns a 404 error, ensure that the following line has been added to the designate.conf file:
enabled_extensions_v1 = diagnostic, ...
Diagnose parts of the system.
Ping a host on a RPC topic¶
-
GET
/diagnostics/ping/
(topic)/
(host)¶ Ping a host on a RPC topic
Example request:
GET /diagnostics/ping/agents/msdns-1 HTTP/1.1 Host: example.com Accept: application/json Content-Type: application/json
Example response:
HTTP/1.1 200 OK Vary: Accept Content-Type: application/json { "host": "rpc-hostname", "status": true, "backend": "msdns", "storage": {"status": true, "message": "..."} }
Status Codes: - 200 OK – Success
- 401 Unauthorized – Access Denied