#307 closed enhancement (fixed)
FILEAGE check returns OK if directory is empty
|Reported by:||tycen||Owned by:||mickem|
Currently, when using check_nt to do a fileage check of a Windows machine running NSCLient++, if the directory is empty the status reports "Return code of 139 is out of bounds" and it goes Critical. I want to find a way for an empty directory to be OK. How can I do this?
(we have a directory where emails get dumped until a service goes in and cleans out the folder and processes the emails - I'm setting up the fileage check to know if the service has died and emails are just building up in the directory - but it should be fine if the directory is empty)