monit-dev
[Top][All Lists]
Advanced

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

Problems with depend


From: Jan-Henrik Haukeland
Subject: Problems with depend
Date: 05 Nov 2002 13:31:14 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service)

I have the following simple setup in monitrc

check apache (..) depend foobar
check foobar (..) 

When I run 'monit restart' in the console, monit stop and start too
many instances of my foobar test program. The last one is a bit
serious since the original pid-info is lost. This is an excerpt from
the log file when I run the above mentioned command:

[CET Nov  5 13:25:52] stop: (foobar) /home/hauk/bin/tst
[CET Nov  5 13:25:52] stop: (apache) /usr/local/apache/bin/http
[CET Nov  5 13:25:52] stop: (foobar) /home/hauk/bin/tst
[CET Nov  5 13:26:02] stop: (foobar) /home/hauk/bin/tst
[CET Nov  5 13:26:02] start: (apache) /usr/local/apache/bin/http
[CET Nov  5 13:26:02] start: (foobar) /home/hauk/bin/tst
[CET Nov  5 13:26:02] start: (foobar) /home/hauk/bin/tst

Do you have time to check this out Rory?

-- 
Jan-Henrik Haukeland




reply via email to

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