xdmp:healthcheck-status() as element(healthcheck-status)*
Returns the health check status of each component in the current cluster.
http://marklogic.com/xdmp/privileges/status
xdmp:healthcheck-status() => <healthcheck-status xmlns="http://marklogic.com/xdmp/status/healthcheck"> <server-initializing>false</server-initializing> <server-restarting>false</server-restarting> <server-shutdown>false</server-shutdown> <quorum-exists>true</quorum-exists> <server-health-statuses> <server-health-status> <server-id>11318571536939717658</server-id> <healthy>true</healthy> </server-health-status> <server-health-status> <server-id>15437102952350489911</server-id> <healthy>true</healthy> </server-health-status> <server-health-status> <server-id>10415499545168196050</server-id> <healthy>true</healthy> </server-health-status> <server-health-status> <server-id>8013634392968434380</server-id> <healthy>true</healthy> </server-health-status> <server-health-status> <server-id>2870877582553813705</server-id> <healthy>true</healthy> </server-health-status> </server-health-statuses> <background-health-statuses> <background-health-status> <background>XDQP Server</background> <healthy>true</healthy> </background-health-status> <background-health-status> <background>database</background> <healthy>true</healthy> </background-health-status> <background-health-status> <background>unknown</background> <healthy>true</healthy> </background-health-status> <background-health-status> <background>server background delay check</background> <healthy>true</healthy> </background-health-status> </background-health-statuses> <database-health-statuses> <database-health-status> <database-id>9720326052981849352</database-id> <healthy>true</healthy> </database-health-status> <database-health-status> <database-id>15686971770360583148</database-id> <healthy>true</healthy> </database-health-status> <database-health-status> <database-id>13263725274147610494</database-id> <healthy>true</healthy> </database-health-status> <database-health-status> <database-id>934719057948494940</database-id> <healthy>true</healthy> </database-health-status> <database-health-status> <database-id>10017752610372694969</database-id> <healthy>true</healthy> </database-health-status> <database-health-status> <database-id>12618411887386246128</database-id> <healthy>true</healthy> </database-health-status> <database-health-status> <database-id>5979493504378357779</database-id> <healthy>true</healthy> </database-health-status> <database-health-status> <database-id>5348867795585160921</database-id> <healthy>true</healthy> </database-health-status> <database-health-status> <database-id>13088900130076748446</database-id> <healthy>true</healthy> </database-health-status> <database-health-status> <database-id>7195581240771549474</database-id> <healthy>true</healthy> </database-health-status> </database-health-statuses> </healthcheck-status>
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.