Page 1 of 2

disk io windows server

Posted: Wed Jun 01, 2016 8:19 am
by pantos21
hello all,

I need to have disk performance statistics like queue lenght on some windows servers. Could someone help me on this as i am not nagios experts.

regards
pantos

Re: disk io windows server

Posted: Wed Jun 01, 2016 10:10 am
by rkennedy
You'll need to use NSClient++ or SNMP to gain the metric some how.

Take a look at our Exchange to see if any of the plugins there will work for you, https://exchange.nagios.org -- there is more than likely a plugin that already exists.

Re: disk io windows server

Posted: Wed Jun 01, 2016 10:46 am
by WillemDH
Hello

I can advise you this plugin => https://outsideit.net/check-ms-win-disk-load/ It gathers all relevant disk io metrics from perfmon.

Grtz

Re: disk io windows server

Posted: Wed Jun 01, 2016 3:29 pm
by rkennedy
Thanks @WillemDH!

@pantos21 - let us know if you have any further questions.

Re: disk io windows server

Posted: Thu Jun 02, 2016 2:42 am
by pantos21
Hi thanks for the replys
I have configured as suggested here
https://outsideit.net/check-ms-win-disk-load/
but i see the following error
(Return code of 127 is out of bounds - plugin may be missing)

Re: disk io windows server

Posted: Thu Jun 02, 2016 9:51 am
by rkennedy
Can you post your service definition for us to look at? Also, please post your NSClient++ log file.

Re: disk io windows server

Posted: Fri Jun 03, 2016 5:08 am
by pantos21
Hi rkennedy,

My nerves is going up. Fater making those changes for some strange reason the cluster shared volumes stoped working. I removed every change i made but with no succes . below is the link where i described how i configured clustered shared vulume
https://support.nagios.com/forum/viewto ... =6&t=38411
.The error i see is "(No output on stdout) stderr:" . when i try to test the command i see this COMMAND: /usr/local/nagios/libexec/check_nrpe -H nic-hv1.chandch.com -c check_csv_freespace -a Archives 90 95
OUTPUT:

This issue now is more important than the first one. I havent made aqy other changes i dont know why is broken
regards
pantos

Re: disk io windows server

Posted: Fri Jun 03, 2016 2:10 pm
by rkennedy
rkennedy wrote:Can you post your service definition for us to look at? Also, please post your NSClient++ log file.
For the issue at hand, can you please post this information?

As for the check_csv erroring out, can you please make a new thread for this? We do like to keep threads contained to keep things on topic. When you do so include this same information, and also the file that is running when you call to check_csv_freespace.

Re: disk io windows server

Posted: Mon Jun 06, 2016 2:39 am
by pantos21
Hi,
Attached i send you the service definition. And in my NSC file i have added the folowing
check_ms_win_disk_load = cmd /c echo scripts\check_ms_win_disk_load.ps1 $ARG1$; exit $LastExitCode | powershell.exe /noprofile -command -

Regards
pantos

Re: disk io windows server

Posted: Mon Jun 06, 2016 9:25 am
by pantos21
Ok finaly i figured out by myself. id download the nrpwe plugin and install it yioupi everyhting worked
regards
pantos