xdmp.healthcheckStatus() as Sequence
Returns the health check status of each component in the current cluster.
http://marklogic.com/xdmp/privileges/status
xdmp.healthcheckStatus() => { "serverInitializing": false, "serverRestarting": false, "serverShutdown": false, "quorumExists": true, "serverHealthStatuses": [ { "serverId": "11318571536939717658", "healthy": true }, { "serverId": "15437102952350489911", "healthy": true }, { "serverId": "10415499545168196050", "healthy": true }, { "serverId": "8013634392968434380", "healthy": true }, { "serverId": "2870877582553813705", "healthy": true } ], "backgroundHealthStatuses": [ { "background": "XDQP Server", "healthy": true }, { "background": "database", "healthy": true }, { "background": "unknown", "healthy": true }, { "background": "server background delay check", "healthy": true } ], "databaseHealthStatuses": [ { "databaseId": "9720326052981849352", "healthy": true }, { "databaseId": "15686971770360583148", "healthy": true }, { "databaseId": "13263725274147610494", "healthy": true }, { "databaseId": "934719057948494940", "healthy": true }, { "databaseId": "10017752610372694969", "healthy": true }, { "databaseId": "12618411887386246128", "healthy": true }, { "databaseId": "5979493504378357779", "healthy": true }, { "databaseId": "5348867795585160921", "healthy": true }, { "databaseId": "13088900130076748446", "healthy": true }, { "databaseId": "7195581240771549474", "healthy": true } ] }