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
145681
Files:
FileDescription
check_latestfile.plCheck latest file
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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.