This plugin checks one or more directory for files older than a specified age.
You can define the age of files for warning and critical states.
Note: the plugin checks the mtime of files, not the ctime.
Usage: check_dircontent.pl -w 24 -c 48 -p /tmp,/var/tmp -i foo,bar
Options:
-w|--warning : time for warnings (minutes)
-c|--critical : time for critical warnings (minutes)
-p|--pathnames : absolute path to the folders, split mutliple pathnames with commata
-t|--timeout : timeout (default: 15)
-i|--ignore : ignore filenames (comma separated)
-d|--debug : print debug output
Provides
Requires