Hi, I'd like to make a check-file-chksum action which does the following
"""
check file FILE
path /FILE
if failed checksum
then "send email with "diff /FILE /etc/monit/files/FILE" output in
the body and /FILE attached to the email"
else if succeeded then "cp /FILE /etc/monit/files/"
"""
How would I have to approach this? Any hints?
Thorsten
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
