check_files - checking fileage of files in folder - help pls
Posted: Mon Sep 05, 2016 8:00 am
i dont get it working and dont understand the docu @ https://docs.nsclient.org/reference/win ... heck_files
i want to check the fileage in of all files in a folder and get a warning when there are files older than XX minutes / hours.
i added these, but it doesnt work. please help me...
i want to check the fileage in of all files in a folder and get a warning when there are files older than XX minutes / hours.
i added these, but it doesnt work. please help me...
define service{
use generic-service
host_name XXX-XX
service_description TEST AGE
check_command check_nrpe!check_files path=d:\Save\2006\XXX 'crit= age > 345600'
}