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
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general