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


Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to