monit-general
[Top][All Lists]
Advanced

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

Monit (for) all files in directory


From: shadow
Subject: Monit (for) all files in directory
Date: Wed, 19 Nov 2014 16:12:09 +0100

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, address@hidden

receive my key: gpg --keyserver zimmermann.mayfirst.org --recv-keys
0x06264855BA2DE161F08905A85C6B6ED4248C1F32


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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