[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: newbie: getting monit to watch for a pattern in logfile
From: |
Martin Pala |
Subject: |
Re: newbie: getting monit to watch for a pattern in logfile |
Date: |
Sat, 5 Apr 2014 22:17:04 +0200 |
Default control file for Monit is "monitrc" and that is what the official
documentation refers to. Some 3rd party distributions customize the file name
and/or location, which is perfectly fine, but we don't held any responsibility
for such changes => just use the configuration file which your Monit package
provides, or use the official source code/binary, for which the manual is
written.
You can find description of the content test here:
http://www.mmonit.com/monit/documentation/monit.html#file_content_testing
Martin
On 05 Apr 2014, at 21:44, Anthony Griffiths <address@hidden> wrote:
> as a newbie to monit I'm having difficulty understanding how I get monit to
> watch for a particular text string (pattern?) in a logfile and then run a
> script when it finds it.
> The manual page seems out of date and doesn't really correspond with the
> monit I've got.
> I'm running a centos 6.5 server 64 bit and I installed monit via yum and
> ended up with monit-5.5-1.el6.rf.x86_64, there is no monitrc file however
> there is a monit.conf file which appears to be the control file.
> I did check the examples and FAQ's and such in the wiki but I couldn't find
> how to do what I wanted. Thanks for any help.
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general