Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_file_md5
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Modeled after check_file_md5s, this script performs the following functions:
- Permits arbitrary md5sum checking of a filename passed in on a parameter
- Builds a list of files with every md5 check - warns when file isn't in the list and adds the file
- Critical alert when a file is not present
- Critical alert, followed by a refresh of the list of checksums when an md5 checksum doesn't match
Default location of temporary list of md5 checksums is /usr/local/nagios/ - modify this line of the script if you wish to change.
Tested and currently running on an array of CentOS 4.x and 5.x servers, but this should work on any UNIX/Linux server with which & md5sum installed.
Planned for future development (and encouraged from the community):
- Would be nice to store cache of md5sums on nagios instead of local server
- Also would be nice to make use of additional parameters to activate or suppress cache-auto-updates
- Permits arbitrary md5sum checking of a filename passed in on a parameter
- Builds a list of files with every md5 check - warns when file isn't in the list and adds the file
- Critical alert when a file is not present
- Critical alert, followed by a refresh of the list of checksums when an md5 checksum doesn't match
Default location of temporary list of md5 checksums is /usr/local/nagios/ - modify this line of the script if you wish to change.
Tested and currently running on an array of CentOS 4.x and 5.x servers, but this should work on any UNIX/Linux server with which & md5sum installed.
Planned for future development (and encouraged from the community):
- Would be nice to store cache of md5sums on nagios instead of local server
- Also would be nice to make use of additional parameters to activate or suppress cache-auto-updates
Reviews (0)
Be the first to review this listing!