Open tinoklauer opened 3 years ago
Describe your issue and tell us how to reproduce it.
Hi,
i used max-depth=0 with check_files over check_nrpe for not recursivechecking the path, but then i get "no files found"
With max-depth=1 it work but he check recursive. Witout this parameter check_files search recursive too.
PLEASE PROVIDE COMMAND HERE
command_line $USER1$/check_nrpe -2 -n -H $HOSTADDRESS$ -p $USER6$ -c check_files -a path='$ARG1$' empty-state='ok' empty-syntax='%(status) - %(total) File(s) found' warning=count=$ARG3$ critical=count=$ARG4$ 'ok-syntax=%(status) - %(total) File(s) found' 'max-depth=$ARG5$'
Tell us what you think should happen.
max-depth=0 works.
Tell us what happens instead.
NSClient++ log:
PLEASE PASTE LOG HERE
Issue and Steps to Reproduce
Describe your issue and tell us how to reproduce it.
Hi,
i used max-depth=0 with check_files over check_nrpe for not recursivechecking the path, but then i get "no files found"
With max-depth=1 it work but he check recursive. Witout this parameter check_files search recursive too.
PLEASE PROVIDE COMMAND HERE
command_line $USER1$/check_nrpe -2 -n -H $HOSTADDRESS$ -p $USER6$ -c check_files -a path='$ARG1$' empty-state='ok' empty-syntax='%(status) - %(total) File(s) found' warning=count=$ARG3$ critical=count=$ARG4$ 'ok-syntax=%(status) - %(total) File(s) found' 'max-depth=$ARG5$'
Expected Behavior
Tell us what you think should happen.
max-depth=0 works.
Actual Behavior
Tell us what happens instead.
Details
Additional Details
NSClient++ log: