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 Fileage

Rating
4 votes
Favoured:
0
Hits
154611
Files:
FileDescription
check_fileage-1.1.zipcheck fileage
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
check_fileage is a plugin to check if a file has changed.
You don't need to declare a time. It calculates the time it self from the last execute of the plugin. So if your file must change every 10 minutes you can set the checking interval from nagios to 15 minutes. It is a VBScript Plugin for NRPE_NT.
Reviews (2)
byxoroz, April 17, 2012
I get the following error:

./check_file_age.py -h
File "./check_file_age.py", line 57
else:
^
SyntaxError: invalid syntax

Running CentOS 6 x64
and
Python 2.6.5 (r265:79063, Nov 12 2010, 00:52:45)
byraziel-357, April 9, 2010
Good script. For my needs I've deleted the temp file managing script section in order to have a more simple fileage check.