Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_latestfile
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!
This script checks the specified files, extracts the latest file and warns if it's too old. It's good for checking that a backup has been made every day to a certain directory.
Files can be specified with an *, e.g /backup/mysqldump.* or /backup/*.sql
Files can be specified with an *, e.g /backup/mysqldump.* or /backup/*.sql
Reviews (1)
byNiesten, January 27, 2016
Good plugin, does exactly what I need.
Only one thing was needed to be corrected due to issues with -v (debuglevel):
use Getopt::Long;
changed into
use Getopt::Long qw(:config no_ignore_case);
Without this, debuglevel and Version parameters were mixed up.
Only one thing was needed to be corrected due to issues with -v (debuglevel):
use Getopt::Long;
changed into
use Getopt::Long qw(:config no_ignore_case);
Without this, debuglevel and Version parameters were mixed up.