Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check Fileage
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)
./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.