<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Windows Performance counters]]></title><description><![CDATA[<p dir="auto">Hello to everyone  ;D.</p>
<p dir="auto">A'm new to netXMS and my question about the way i should access windows performance counters.</p>
<p dir="auto">Basically, i found that i can use PDH.CounterValue(*).<br />
Some of the counters are always return 0, some netXMS return "Cannot get current parameter value: Requested data collection item is not supported by agent".</p>
<p dir="auto">These return 0.<br />
PDH.CounterValue('\LogicalDisk(C:)\% Disk Write Time')<br />
PDH.CounterValue('\LogicalDisk(C:)\% Disk Read Time')</p>
<p dir="auto">And these counters return correct values .</p>
<p dir="auto">PDH.CounterValue('\LogicalDisk(C:)\Current Disk Queue Length')<br />
PDH.CounterValue('\Server\Server Sessions')<br />
PDH.CounterValue('\Server\Files Open')</p>
<p dir="auto">Server 1.1.10<br />
Agent 1.1.10(x64)<br />
All environment in same Domain, server hosted on w2k3 and agent is on w2k8r2.</p>
<p dir="auto">I was using power shell script in easy cycle <em>Get-Counter '\LogicalDisk(C:)\% Disk Read Time' -ComputerName FileServer</em> to check the values.<br />
Thanks</p>
]]></description><link>https://forum.netxms.org/topic/1639/windows-performance-counters</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 13:25:38 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1639.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 22 Mar 2012 16:57:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Windows Performance counters on Sat, 24 Mar 2012 15:53:21 GMT]]></title><description><![CDATA[<p dir="auto">No, it's not possible, because each counter requires background processing, so agent have to know instance from the beginning, not only at DCI value request time. What I could think of simplifying counter configuration is to add option to WinPerf to collect all instances of a given counter. I'll add this as feature request.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/7087</link><guid isPermaLink="true">https://forum.netxms.org/post/7087</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sat, 24 Mar 2012 15:53:21 GMT</pubDate></item><item><title><![CDATA[Reply to Windows Performance counters on Fri, 23 Mar 2012 14:26:25 GMT]]></title><description><![CDATA[<p dir="auto">Is There any way to add new counter under *WinPerf section with variable which I will provide when adding dci from console?</p>
<pre><code>*WinPerf
Counter = LogicalDisk.Disk.Read.Time:"\LogicalDisk($some_Variable)\% Disk Read Time":60:A:INT:"Disk Read Time"
</code></pre>
<p dir="auto">So when i will add this counter i can provide drive letter</p>
]]></description><link>https://forum.netxms.org/post/7080</link><guid isPermaLink="true">https://forum.netxms.org/post/7080</guid><dc:creator><![CDATA[little]]></dc:creator><pubDate>Fri, 23 Mar 2012 14:26:25 GMT</pubDate></item><item><title><![CDATA[Reply to Windows Performance counters on Fri, 23 Mar 2012 14:16:46 GMT]]></title><description><![CDATA[<p dir="auto">Found an answer on forum.  ::)</p>
]]></description><link>https://forum.netxms.org/post/7079</link><guid isPermaLink="true">https://forum.netxms.org/post/7079</guid><dc:creator><![CDATA[little]]></dc:creator><pubDate>Fri, 23 Mar 2012 14:16:46 GMT</pubDate></item></channel></rss>