title: How to monitor state of Java applications running on different machines using zookeeper?
body: <p>How to monitor state of Java standalone applications running on different machines using zookeeper?. If any of the java application is not running / shutdown / killed, a notification should be sent or some event should trigger.</p>
  
  <p>Ex : My java program(Sample.java) running in nohup mode on Machine A, B, C and in any case, program is killed on Machine A. How would we know the program on machine A is shutdown/got killed. Any idea would be helpful.</p>