[Top][All Lists]

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


From: David Montgomery
Subject: Re:
Date: Thu, 18 Jul 2013 05:58:48 +0800

oh do I check form the command line?

On Thu, Jul 18, 2013 at 5:19 AM, Nathan Williams <address@hidden> wrote:
if you're using a relatively recent monit (i think 5.3+), you can use procmatch to monitor services without a pid file.


check process zookeeper matching zookeeper

you can test your regex using monit procmatch expr at the command line.


On Wed, Jul 17, 2013 at 2:02 PM, David Montgomery <address@hidden> wrote:


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

check process zookeeper
  with pidfile "/var/run/"
  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". to a make monit work with pidof in lieu of "with pidfile "/var/run/"?

To unsubscribe:

To unsubscribe:

reply via email to

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