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
155140
Files:
FileDescription
check_fileage-1.1.zipcheck fileage
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!
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.