[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
repeated file content match
From: |
Ben Soot |
Subject: |
repeated file content match |
Date: |
Mon, 20 Oct 2014 15:11:59 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Hello,
What is the best way to get alerts of repeated file content matches?
I have 2 rules one for the same file so i can then distinguish in mmonit the service to send alerts
to different mail addresses.
Somehow the alerts for the repeated rule are not triggered... Anybody done sth
like this?
also i never got the service group
Im using monit 5.4 and mmonit 3.1.2
thanks Ben
set daemon 120
...
check file foo.log with path /home/foo.log
if match
"^.*ACTION_REQUIRED.*$" then alert
check file foo_REPEATED.log with path /home/foo.log
group repeatedfailure
if match
"^.*ACTION_REQUIRED.*$" within 3 cycles then alert
- monit start/stop in a synchronous mode, Alain Kreienbuhl, 2014/10/10
- Re: monit start/stop in a synchronous mode, Martin Pala, 2014/10/10
- Re: monit start/stop in a synchronous mode, Alainkr, 2014/10/10
- Re: monit start/stop in a synchronous mode, Martin Pala, 2014/10/13
- Re: monit start/stop in a synchronous mode, Alainkr, 2014/10/13
- Re: monit start/stop in a synchronous mode, Martin Pala, 2014/10/14
- Re: monit start/stop in a synchronous mode, Alainkr, 2014/10/14
- Re: monit start/stop in a synchronous mode, Martin Pala, 2014/10/14
- Re: monit start/stop in a synchronous mode, Alainkr, 2014/10/14
- Re: monit start/stop in a synchronous mode, Martin Pala, 2014/10/15
- repeated file content match,
Ben Soot <=
- Re: repeated file content match, Martin Pala, 2014/10/22
- Re: repeated file content match, Ben Soot, 2014/10/28