Page 3 of 4

Re: check_ms_win_disk_load error?

Posted: Tue Sep 22, 2015 4:45 pm
by hsmith
I'm not sure if I've said "Thanks Willem" enough today. Regardless, thank you for helping with this issue.

@hk44765, let us know. Thanks!

Re: check_ms_win_disk_load error?

Posted: Tue Sep 22, 2015 5:10 pm
by hk44765
I'm happy to report I fixed the issue. Powershell and extra spaces was my issue. Once I removed the extra hidden space, I was able to run command remotely.

[root@vnlpnagios01 libexec]# ./check_nrpe -H hnwtcompu01 -t 60 -c check_ms_win_disk_load -a '-H localhost'
OK: Drive C: Avg of 2 samples: {Rate (Read: 0.00000MB/s)(Write: 0.00313MB/s)} {Avg Nr of (Reads: 0.00000r/s)(Writes: 0.00000w/s)} {Latency (Read: 0.00000us)(Write: 0.04992us)} {Queue Length (Read: 0.00000ql)(Write: 0.00000ql)}

Nagios is showing warning at this moment, what should be the proper values to start with? Any ideas?

Re: check_ms_win_disk_load error?

Posted: Wed Sep 23, 2015 12:45 am
by WillemDH
Depends on your disk types and load. I suggest you let it run for some time and then define warning and critical thresholds. Nice you got it working.

Re: check_ms_win_disk_load error?

Posted: Wed Sep 23, 2015 9:12 am
by hsmith
@hk44765 is there anything else you need help with regarding this particular issue?

Re: check_ms_win_disk_load error?

Posted: Wed Sep 23, 2015 11:19 am
by hk44765
I've run the monitoring service for 17 hours and capatured the following sample data:

OK: Drive C: Avg of 10 samples: {Rate (Read: 0.00077MB/s)(Write: 0.03809MB/s)} {Avg Nr of (Reads: 1.18337r/s)(Writes: 1.18337w/s)} {Latency (Read: 0.59111us)(Write: 5.73635us)} {Queue Length (Read: 0.00256ql)(Write: 0.00256ql)}

There is 2 issues. I do not understand the threshold options and there is no performance graph showing in performance tab under service?

Re: check_ms_win_disk_load error?

Posted: Wed Sep 23, 2015 5:09 pm
by hsmith
I do not understand the threshold option
Do you need help with the Syntax, or the values?
there is no performance graph showing in performance tab under service
What is showing up?

Re: check_ms_win_disk_load error?

Posted: Wed Sep 23, 2015 5:36 pm
by hk44765
The performance section is blank. It says the following:

"No performance graphs were found for this service. If you have just started monitoring this object then it may take up to 15 minutes for the performance graphs to appear."

Not the Syntax, just the values as I have it working and showing stats.

Re: check_ms_win_disk_load error?

Posted: Thu Sep 24, 2015 11:49 am
by WillemDH
Can you check the Advanced Status Details in the advanced tab of your service? What is there next to Performance Data?

Re: check_ms_win_disk_load error?

Posted: Thu Sep 24, 2015 12:08 pm
by hk44765
There is no values next to Performance data.

Advanced Status Details

Service State: Warning
Duration: 1d 0h 0m 59s
State Type: Hard
Current Check: 5 of 5
Last Check: 09/24/2015 10:04:26
Next Check: 09/24/2015 10:09:26
Last State Change: 09/23/2015 10:06:29
Last Notification: Never
Check Type: Active
Check Latency: 0 seconds
Execution Time: 11.13365 seconds
State Change: 0%
Performance Data:

Re: check_ms_win_disk_load error?

Posted: Thu Sep 24, 2015 12:09 pm
by hk44765
Here is the line reporting back from service status details:

OK: Drive D: Avg of 10 samples: {Rate (Read: 0.00616MB/s)(Write: 0.01002MB/s)} {Avg Nr of (Reads: 0.39437r/s)(Writes: 0.39437w/s)} {Latency (Read: 0.01251us)(Write: 0.04002us)} {Queue Length (Read: 0.00005ql)(Write: 0.00005ql)}