I think you need to test 2 things: - 1. Check the Neo4j process (Java Process) itself, so that you know it is up or not 2. Check whether the database is ready to serve the request and responding within SLA (if any)
For the #1 you can use any standard Enterprise tools like Nagios/ Ganglia And for #2 you need to hit the DB with it's REST API's and and check the response time. Thanks, Sumit On Thursday, 16 April 2015 22:25:29 UTC+5:30, Tri Nguyen wrote: > > Hi, > > I have to monitor if Neo4j is ready and is up and running. > I understand that there are some REST status codes. > > Is there a status code and/or method for querying the status of Neo4j? > > I think there is a "neo4j status" command. > However, I do not necessarily want to launch a shell to execute that > command. > > I would like to programatically query for Neo4j's status via Python. > > The Neo4j REST status code notes that the HTTP code does not correspond to > Neo4j's status, which makes sense. > Also, I do not think I should necessarily hit Neo4j's web front end: > e.g. http://neo4jhost:7474/browser/ > > Thanks. > > Tri > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
