Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This plug-in is for LINUX edition and determines the newest file in the folder specified and it's age and size.
Current Version
1.0
Last Release Date
2011-08-03
Owner
Mohan Cheema
Website
http://www.mohancheema.net
Download URL
http://subversion.assembla.com/svn/nagios-plugins/tag/
License
GPL
Compatible With
This plug-in is for LINUX edition and determines the newest file in the folder specified and it's age and size. It can also be use on any Unix/Linux platform. You need basic Perl package to run this plug-in.
Usage: check_fileage [-w <secs>] [-c <secs>] [-W <size>] [-C <size>] -f <folder>
If anyone face any difficulty to use this plug-in then feel free to write me.
The script doesn't properly determine which file is the newest one. The IF statement on line 113 is incorrect. Also the name "check_fileage" is confusing, it's too similar to the natively provided "check_file_age" plugin. My suggestion is: 1) Rename the script to "check_newestfileage", and so a search/replace inside the plugin to change all instances of "check_fileage" to "check_newestfileage". 2) Remove the "else" clause on the IF statement on Line 111, so change this: if($diff
You must be logged in to submit a review.
To:
From: