A quick way of checking the health of a Dgraph is to get its status from the Endeca Server.
To check the aliveness of a Dgraph:
endeca-cmd status-ds books
Current State: Started