monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: David Montgomery
Subject:
Date: Thu, 18 Jul 2013 05:02:35 +0800


Hi,

I typically would use the below to monitor zookeeper on ubnutu 12.04.

check process zookeeper
  with pidfile "/var/run/zookeeper.pid"
  start program = "/etc/init.d/zookeeper start"
  stop program = "/etc/init.d/zookeeper stop"

Problem is there is no pid file

I can get the pid using "pidof java".

So..how to a make monit work with pidof in lieu of "with pidfile "/var/run/zookeeper.pid"?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]