Page 2 of 2

Re: check if windows folder exist

Posted: Fri Aug 24, 2018 1:41 pm
by lpereira
lmiltchev wrote:Modify the following lines in the nsclient.ini so that they look like this:

Code: Select all

insecure = true
extended response = 0
and restart tne nsclient++ service.

Test your check by running:

Code: Select all

./check_nrpe -H SERVERIP -n -c check_files -a path='C:\\Temp' 'warn= count < 1' 'crit= count < 1' top-syntax='${status}: ${count} files found ${problem_list}' 'empty-state=critical' show-all
Let us know if this helped.
Seems that is working now.

Re: check if windows folder exist

Posted: Fri Aug 24, 2018 1:59 pm
by scottwilkerson
lpereira wrote:Seems that is working now.
Great! Locking thread