Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_latestfile

Rating
1 vote
Favoured:
0
Current Version
1.02
Last Release Date
2018-04-02
License
GPL
Hits
146180
Files:
FileDescription
check_latestfile.plCheck latest file
Nagios CSP

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.
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
Reviews (1)
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.