Monitoring Windows Disk Load issue

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: Monitoring Windows Disk Load issue

Post 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!
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Monitoring Windows Disk Load issue

Post by npolovenko »

@lpereira, Nice! I'm glad we could help. I'll close this thread as resolved now.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked