The health check has 4 different results depending from the server's state:
- UP
- The server is up and running. Also the server has nodes.
{"status":"UP","description":"Neo4j health check was success."}
- OUT_OF_SERVICE
- The server is up and running but it has 0 nodes.
{"status":"OUT_OF_SERVICE","description":"Neo4j has no available node!"}
- DOWN
- The server is not available.
{"status":"DOWN","description":"Neo4j health check result was invalid!"}
- OUT_OF_SERVICE
- An error occurred during the query state.
{"status":"OUT_OF_SERVICE","description":"Neo4j health check failed!","error":"java.lang.NullPointerException: detail"}
NEO4J_HOME/conf/neo4j.conf
dbms.security.auth_enabled=false
dbms.unmanaged_extension_classes=com.brinkus.labs.neo4j.health.unmanaged=/labs
NEO4J_HOME/conf/neo4j-server.properties
dbms.security.auth_enabled=false
org.neo4j.server.thirdparty_jaxrs_classes=com.brinkus.labs.neo4j.health.unmanaged=/labs