monit-general
[Top][All Lists]
Advanced

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

[monit] monitor checksum and timestamp


From: Matthias Teege
Subject: [monit] monitor checksum and timestamp
Date: Sat, 26 Jul 2008 19:08:08 +0200

Moin,

I need to backup configuration files after changes. 

check file fluff_conf with path /etc/fluff.conf
  if changed checksum
      then exec "/bin/backup fluff.conf"

works for this but if I make small changes the file was copied any two
minutes. What I need is something like this:

check file fluff_conf with path /etc/fluff.conf
  if changed checksum and timestamp > 30 Minutes
      then exec "/bin/backup fluff.conf"

How do I config monit for that problem?

Many thanks
Matthias





reply via email to

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