Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
check_file is a nagios plugin for checking a timestamp on a file. It uses the mtime value and localtime on the server and compares the difference of those against a given critical and warning value.
Current Version
Last Release Date
June 16, 2009
Owner
Nagios Exchange
Website
http://www.lnxsys.ca/software/check_file/
check_file tarball
It is written in C and has been tested under Linux. It should be easily portable to other UNIX and without too much trouble to any POSIX OS.
-p must be given on the command line and is the path to the file or directory to monitor.
-e will only check for the existence of the file. This can not be used with -w and -c.
-w is the warning threshold. If you give -w 60 it will warn if the file is older than 60 seconds. thresholds are only in and will only ever be in seconds.
-c is the critical threshold. If you give -w 60 -c 65 it will warn from 60 seconds until 64 seconds then be critical from 65 seconds onward.
-i will invert the options. used with -e it will check for the non-existence of the file. Used with -w and -c it will check the file is NOT newer than the times given.
Read the file README for contact information. If anyone has any feedback I'd be grateful to hear it.
when i download it, i get a message that the file is corrupt...
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!