[Top][All Lists]

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

RE: Bug in Monit 5.2 content match (?)

From: Kamenik, Aleksander
Subject: RE: Bug in Monit 5.2 content match (?)
Date: Fri, 29 Oct 2010 12:04:22 +0100


> It doesn't if the file contains "ERROR" without a new line => echo -n
> 'ERROR' > /apps/monit/myservice.status

Yeah, it matches only new lines, not the change of the file.

I always do 'echo "ERROR" >> /var/run/file' (append).

monit expects to see kind of a log file which gets news lines added to it. I 
also have the state file in /var/run, so it's reset once in a while during a 


Aleksander Kamenik
System Administrator
Krediidiinfo AS
an Experian Company
Phone: +372 665 9649
Email: address@hidden

reply via email to

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