How to check a remote file if been changed?
Posted: Tue Sep 20, 2011 1:14 am
For some reasons I don't use NRPE instead of using SSH proxy wizard to monitor remote host files, and see if files had been changed (based on their size and time).
I know such plugin like check_filesize.sh/check_file_size.sh/check_fileages/... can be used to monitor remote files, but they can only monitor if file is greater or older than previous state, what I want to monitor is once the file had been changed (file size greater or smaller, created or edited time different from original), then warning/critical.
Any idea? thanks!
I know such plugin like check_filesize.sh/check_file_size.sh/check_fileages/... can be used to monitor remote files, but they can only monitor if file is greater or older than previous state, what I want to monitor is once the file had been changed (file size greater or smaller, created or edited time different from original), then warning/critical.
Any idea? thanks!