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!
check_ms_win_disk_load error?
Re: check_ms_win_disk_load error?
Former Nagios Employee.
me.
me.
Re: check_ms_win_disk_load error?
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?
[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?
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.
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: check_ms_win_disk_load error?
@hk44765 is there anything else you need help with regarding this particular issue?
Former Nagios Employee.
me.
me.
Re: check_ms_win_disk_load error?
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?
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?
Do you need help with the Syntax, or the values?I do not understand the threshold option
What is showing up?there is no performance graph showing in performance tab under service
Former Nagios Employee.
me.
me.
Re: check_ms_win_disk_load error?
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.
"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?
Can you check the Advanced Status Details in the advanced tab of your service? What is there next to Performance Data?
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: check_ms_win_disk_load error?
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:
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?
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)}
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)}