Xymon Mailing List Archive search

Windows disk I/O stats

3 messages in this thread

list Andy Smith · Thu, 9 Jun 2016 11:54:43 +0100 ·
Hi,

I have been asked to provide disk I/O stats for a windows server, this
currently has xymonclient.ps1 2.04 and the server OS is 2008 R2 SP1.

I have provided similar in linux end-points using for instance
diskstat.pl from Xymonton, but nothing similar seems to exist for
Windows.  I presume powershell could find this stuff but how expensive
would it be to extract this?  I dont want the agent to be affecting
what we are supposed to be measuring.  Has anyone else already been
down this path or can they provide me an tips please?

Thanks
-- 
Andy
list Zak Beck · Thu, 9 Jun 2016 11:45:32 +0000 ·
Hi

I haven't tackled your exact problem but if you upgraded to the latest client (2.15) you would gain the capability to execute and collect data from external scripts.

You could then write a Powershell script to collect the data from performance counters (perfmon). This should not be expensive as the OS is already collecting this data, you're just reading it.

You can use Perfmon to determine which counters you need to collect, then Get-Counter in Powershell to read the counters.

https://technet.microsoft.com/en-us/magazine/ee872428.aspx
http://stackoverflow.com/questions/21086389/how-to-select-a-performance-counter-with-get-counter-with-in-name


Zak
quoted from Andy Smith

-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Andy Smith
Sent: 09 June 2016 11:55
To: xymon at xymon.com
Subject: [Xymon] Windows disk I/O stats

Hi,

I have been asked to provide disk I/O stats for a windows server, this currently has xymonclient.ps1 2.04 and the server OS is 2008 R2 SP1.

I have provided similar in linux end-points using for instance diskstat.pl from Xymonton, but nothing similar seems to exist for Windows.  I presume powershell could find this stuff but how expensive would it be to extract this?  I dont want the agent to be affecting what we are supposed to be measuring.  Has anyone else already been down this path or can they provide me an tips please?

Thanks
--
Andy
list Andy Smith · Fri, 10 Jun 2016 07:06:04 +0100 ·
quoted from Zak Beck
user-aada0fa38bf8@xymon.invalid wrote:
Hi

I haven't tackled your exact problem but if you upgraded to the latest client (2.15) you would gain the capability to execute and collect data from external scripts.

You could then write a Powershell script to collect the data from performance counters (perfmon). This should not be expensive as the OS is already collecting this data, you're just reading it.

You can use Perfmon to determine which counters you need to collect, then Get-Counter in Powershell to read the counters.

https://technet.microsoft.com/en-us/magazine/ee872428.aspx
http://stackoverflow.com/questions/21086389/how-to-select-a-performance-counter-with-get-counter-with-in-name


Zak

-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Andy Smith
Sent: 09 June 2016 11:55
To: xymon at xymon.com
Subject: [Xymon] Windows disk I/O stats

Hi,

I have been asked to provide disk I/O stats for a windows server, this currently has xymonclient.ps1 2.04 and the server OS is 2008 R2 SP1.

I have provided similar in linux end-points using for instance diskstat.pl from Xymonton, but nothing similar seems to exist for Windows.  I presume powershell could find this stuff but how expensive would it be to extract this?  I dont want the agent to be affecting what we are supposed to be measuring.  Has anyone else already been down this path or can they provide me an tips please?

Thanks
--
Andy
Thanks for the reply, I had a look at those links and I think I can probably put something together.  At the end of the day, disk I/O is going to be 'just a number' and I am not sure what they are expecting to do with it, it might be a symptom of application mal-performance but it's not going to be the cause so I suppose it will tell them when they have fixed the problem.
-- 
Andy