- edited description
Enhancement: relative timestamps
Issue #390
new
I'd like to be able to have monit check the relative timestamp between two files. For example,
check file postfix-aliases with path /etc/postfix/aliases
if timestamp > 15 minutes newer than /etc/postfix/aliases.db then alert
This would allow us to check files that are generated based on another file, like postfix alias database files.
Comments (4)
-
repo owner -
Similar proposal: Add a check when a file's time stamp was NOT changed for some time (e.g. within two days). Add check to compare two file's stamps ("newer than .. [by amount]", "older than .. [by amount]", where "amount" could be some number with a unit like seconds, minutes, hours, days, etc.)
-
repo owner @shortly check of timestamp that didn't changed within two days is possible already:
if timestamp > 2 days then alert
-
repo owner - changed version to 5.18.0
- Log in to comment