check if windows folder exist

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
lpereira
Posts: 143
Joined: Thu Jul 27, 2017 4:23 pm

Re: check if windows folder exist

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check if windows folder exist

Post by scottwilkerson »

lpereira wrote:Seems that is working now.
Great! Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked