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
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)
oneclick

Post By Editor (2,827 Posts)

Website: →

Connect