disk io windows server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
pantos21
Posts: 13
Joined: Mon May 16, 2016 7:47 am

disk io windows server

Post 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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: disk io windows server

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

Re: disk io windows server

Post 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
Nagios XI 5.8.1
https://outsideit.net
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: disk io windows server

Post by rkennedy »

Thanks @WillemDH!

@pantos21 - let us know if you have any further questions.
Former Nagios Employee
pantos21
Posts: 13
Joined: Mon May 16, 2016 7:47 am

Re: disk io windows server

Post 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)
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: disk io windows server

Post by rkennedy »

Can you post your service definition for us to look at? Also, please post your NSClient++ log file.
Former Nagios Employee
pantos21
Posts: 13
Joined: Mon May 16, 2016 7:47 am

Re: disk io windows server

Post 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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: disk io windows server

Post 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.
Former Nagios Employee
pantos21
Posts: 13
Joined: Mon May 16, 2016 7:47 am

Re: disk io windows server

Post 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
You do not have the required permissions to view the files attached to this post.
pantos21
Posts: 13
Joined: Mon May 16, 2016 7:47 am

Re: disk io windows server

Post by pantos21 »

Ok finaly i figured out by myself. id download the nrpwe plugin and install it yioupi everyhting worked
regards
pantos
Locked