Excellent!!! is working nownpolovenko wrote:@lpereira, In nsclient.ini file can you change:
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 = 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
After that please restart NSClient service and try to run the command: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 = 1Notice 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 D -ms 5 -rqw 20 -rqc 50' -nLet us know if that fixed it.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
thanks!