- edited description
Monit when a file size does not change
Issue #326
closed
The manual explains easily to setup a rule when a file size changes. https://mmonit.com/monit/documentation/monit.html#FILE-SIZE-TESTING
Like:
#!
check file with path /var/log/service/service.log if changed size then alert
But it should be possible to monitor when de file size does NOT change.
Comments (4)
-
reporter -
repo owner - changed status to closed
If I understand you correct, you need to know when a file (size) does not change. That is, does not change within a certain time-frame. In this case, maybe you can use the timestamp check, because if a file is modified its timestamp will change, so you could use something like this
if timestamp < 1 hour then alert
-
repo owner - marked as enhancement
- marked as minor
-
repo owner - removed version
Removing version: 5.9 (automated comment)
- Log in to comment