Hello,

using pattern for multiple files monitoring is not supported currently, we plan 
to add this feature.

Regards,
Martin


> On 19 Nov 2014, at 16:12, shadow <[email protected]> wrote:
> 
> Hello community:
> 
> 
> Is there a possibility to run checks on all files in a directory with
> monit, Without mention every file in this directory by itself?
> 
> For example:
> 
>    /etc/configurations-to-monitor/
> 
>    config1
> 
>    config2
> 
>    config3
> 
> 
> By now I use this in /etc/monit/conf.d/myconfigs:
> 
>    check directory myconfigs path /etc/configurations-to-monitor/
> 
>    if changed timestamp then alert
> 
> 
> But there are some bypass possibilities to this construct. So I would
> like, to run timestamp and checksum-checks on all files in this
> directory. The goal is to add more configurations to this directory,
> without touching the monit configuration again.
> 
> Thanks in advance
> 
> 
> 
> -- 
> best regards | viele Gruesse, [email protected]
> 
> receive my key: gpg --keyserver zimmermann.mayfirst.org --recv-keys
> 0x06264855BA2DE161F08905A85C6B6ED4248C1F32
> 
> 
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general


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

Reply via email to