Skip to content

bbrinkus/neo4j-health-check-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Health Check Plugin for Neo4j

Query result

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"}

Installation

Neo4j (3.0+)

NEO4J_HOME/conf/neo4j.conf

dbms.security.auth_enabled=false
dbms.unmanaged_extension_classes=com.brinkus.labs.neo4j.health.unmanaged=/labs

Neo4j (<3.0)

NEO4J_HOME/conf/neo4j-server.properties

dbms.security.auth_enabled=false
org.neo4j.server.thirdparty_jaxrs_classes=com.brinkus.labs.neo4j.health.unmanaged=/labs

Releases

No releases published

Packages

No packages published

Languages