check_ms_win_disk_load error?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: check_ms_win_disk_load error?

Post 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!
Former Nagios Employee.
me.
hk44765
Posts: 21
Joined: Mon Sep 21, 2015 1:14 pm

Re: check_ms_win_disk_load error?

Post 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?
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: check_ms_win_disk_load error?

Post 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.
Nagios XI 5.8.1
https://outsideit.net
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: check_ms_win_disk_load error?

Post by hsmith »

@hk44765 is there anything else you need help with regarding this particular issue?
Former Nagios Employee.
me.
hk44765
Posts: 21
Joined: Mon Sep 21, 2015 1:14 pm

Re: check_ms_win_disk_load error?

Post 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?
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: check_ms_win_disk_load error?

Post 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?
Former Nagios Employee.
me.
hk44765
Posts: 21
Joined: Mon Sep 21, 2015 1:14 pm

Re: check_ms_win_disk_load error?

Post 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.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: check_ms_win_disk_load error?

Post by WillemDH »

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
hk44765
Posts: 21
Joined: Mon Sep 21, 2015 1:14 pm

Re: check_ms_win_disk_load error?

Post 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:
hk44765
Posts: 21
Joined: Mon Sep 21, 2015 1:14 pm

Re: check_ms_win_disk_load error?

Post 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)}
Locked