check_winfile - age of file not working
Posted: Thu Aug 18, 2016 7:39 am
hi
i want to filter some files in a folder. i want to get a crit when there are files older than 4 days
check_winfile is working - i got a check with filesize bigger than 3gb working fine
here is code:
Output while files are 1-10 days old:
i want to filter some files in a folder. i want to get a crit when there are files older than 4 days
check_winfile is working - i got a check with filesize bigger than 3gb working fine
here is code:
check_winfile_age_odb_d = scripts\check_winfile.exe --target "D:\Savedb\" --filter "age ge 96 hours" --critical 0
Output while files are 1-10 days old:
FILE OK - 0 files out of 18 to consider