[Nagiosplug-devel] [ nagiosplug-New Plugins-1052482 ] Check file for existence or age

SourceForge.net noreply at sourceforge.net
Fri Oct 22 14:10:53 CEST 2004


New Plugins item #1052482, was opened at 2004-10-22 16:09
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=1052482&group_id=29880

Category: Perl plugin
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Aaron Bostick (aaronbostick)
Assigned to: Nobody/Anonymous (nobody)
Summary: Check file for existence or age

Initial Comment:
This plugin will determine whether a file exists or not.  You 
can have it return OK on either condition with the -n switch.  
Also, a failed check can return WARNING or CRITICAL if 
the -w or -c is specified.  WARNING is the default. 
 
By adding the -a switch, the plugin also checks the age of 
the file in hours.  If the file is younger than the number of 
hours specified, the plugin will return OK, and WARN or 
CRIT otherwise.  With the -n option, the file is check to be 
*older* than the number of hours specified. 
 
The <file> argument should be a an absolute path to the 
file you are interested in. 
 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=1052482&group_id=29880




More information about the Devel mailing list