Checkfiles filter path


#1

Hello, We have NSCLIENT++ in 0.4.1.73 and are looking for check files exists in a directory with this conditions:

  • search in subdirectory
  • older than 12hour
  • name in “N*”

This work

I want to exclude a subdirectory in result, and the message is “parsing failed: path”

The path of subdirectory to exclude can contain other subdirectory to exclude also

The command don’t work:

check_nrpe -n -t 30 -H host -c checkfiles -a path=“E:/directory” pattern=“N*” master-syntax=“Files %list%” syntax="\n%path%/%filename%" crit=gt:0 ‘filter=creation < 720m’ “filter=path != ‘E:/directory/directorytoexclude’”

Thank’s for help