monit-general
[Top][All Lists]
Advanced

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

Re: Problem with fault tolerant monitoring logging


From: Jan-Henrik Haukeland
Subject: Re: Problem with fault tolerant monitoring logging
Date: Wed, 14 Dec 2005 17:33:58 +0100

Ouch, but I think Martin has fixed this in the CVS version, I'm not sure though. Anyway, try and test by checking out the recent version from CVS using:
 cvs -z3 -d:pserver:address@hidden:/sources/monit co monit
then run, './autogen.sh && make && make install' to build and install the newest monit.


On 13. des. 2005, at 15.21, <address@hidden> <address@hidden> wrote:


Hi,

first of all thanks for this great tool !

My Problem with monit 4.6:

I use the fault tolerant monitoring like :

check process sshd with pidfile /var/run/sshd.pid
 start program  "/etc/init.d/sshd start"
 stop program  "/etc/init.d/sshd stop"
 if failed port 22 protocol ssh with timeout 10 seconds for 3 times
within 3 cycles then   restart

If the process fails, it is noticed by monit and restarted.
The problem is, that after recovery, monit logs every cycle the
"connection passed" statement  like:

[CET Dec 13 13:04:43] 'sshd' connection passed
[CET Dec 13 13:05:43] 'sshd' connection passed
[CET Dec 13 13:06:43] 'sshd' connection passed


Monit does this until I reload or restart monit.

This happens with any service I use with the fault tolerant monitoring
option.

I don't want the Log-Files to grow that much and I think that one
"connection passed"
is enough.How can I avoid monit acting like this ?

Thanks in advance

Regards


Tim




--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

--
Jan-Henrik Haukeland
Mobil +47 97141255





reply via email to

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