Page 2 of 2

Re: Monitoring Windows Disk Load issue

Posted: Fri Dec 01, 2017 2:58 pm
by lpereira
npolovenko wrote:@lpereira, In nsclient.ini file can you change:

Code: Select all

; COMMAND ALLOW NASTY META CHARS - This option determines whether or not the we will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments.
allow nasty characters = 0

; COMMAND ARGUMENT PROCESSING - This option determines whether or not the we will allow clients to specify arguments to commands that are executed.
allow arguments = 0
To this:

Code: Select all

; COMMAND ALLOW NASTY META CHARS - This option determines whether or not the we will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments.
allow nasty characters = 1

; COMMAND ARGUMENT PROCESSING - This option determines whether or not the we will allow clients to specify arguments to commands that are executed.
allow arguments = 1
After that please restart NSClient service and try to run the command:

Code: Select all

./check_nrpe -H 17X.XXX.XXX -p 5666 -t 60 -c check_ms_win_disk_load -a '-dl D -ms 5 -rqw 20 -rqc 50' -n
Notice that in your original you're attempting to check drive D. Please try the same with the drive C:

Code: Select all

./check_nrpe -H 17X.XXX.XXX -p 5666 -t 60 -c check_ms_win_disk_load -a '-dl C -ms 5 -rqw 20 -rqc 50' -n
Let us know if that fixed it.
Excellent!!! is working now

thanks!

Re: Monitoring Windows Disk Load issue

Posted: Fri Dec 01, 2017 3:09 pm
by npolovenko
@lpereira, Nice! I'm glad we could help. I'll close this thread as resolved now.