<?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[Problem with Windows Performance Counters]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">For the following counter:<br />
PDH.CounterValue('\Microsoft Dynamics AX Object Server(01)\ACTIVE SESSIONS')<br />
I recieve an error: H_PdhCounterValue: PDH Error C0000BB8 in call to PdhAddCounter (The specified object was not found on the computer.)</p>
<p dir="auto">The WinPerf agent is present (checked this with Tools/Info/Agent/Agent List</p>
<p dir="auto">To double-check I tried another counter:<br />
PDH.CounterValue('\Processor(_Total)\% Processor Time')<br />
and it works.</p>
<p dir="auto">However the above Dynamics counter does exist, I can set it through performance monitor. I check it using a dot net program that shows the following counters:<br />
Microsoft Dynamics AX Object Server [MultiInstance]<br />
    01<br />
        TOTAL SESSIONS<br />
        ACTIVE SESSIONS<br />
        NUMBER OF CLIENT REQUESTS<br />
        NUMBER OF CLIENT REQUESTS PER SECOND<br />
        NUMBER OF SERVER REQUESTS<br />
        NUMBER OF BYTES SENT BY SERVER<br />
        NUMBER OF BYTES RECEIVED BY SERVER</p>
<p dir="auto">What can I try next?</p>
<p dir="auto">Regards,</p>
<p dir="auto">Dan</p>
]]></description><link>https://forum.netxms.org/topic/1378/problem-with-windows-performance-counters</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:38:02 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1378.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 27 Sep 2011 07:35:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem with Windows Performance Counters on Wed, 28 Sep 2011 20:04:03 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor,</p>
<p dir="auto">I can confirm the issue is 32/64 bit version related.<br />
After installing the 1.1.4 Agent on the AOS server, nxget returns the Dynamics AX object.<br />
The DCI is now working as well.</p>
<p dir="auto">The thing to find out is how the Microsoft's "Performance Monitor" can gather both 32 and 64 bit objects at the same time.<br />
Running the NetXMS 32-bit agent is probably not ideal, but for the meanwhile it will do the trick.</p>
<p dir="auto">Regards,</p>
<p dir="auto">Dan</p>
]]></description><link>https://forum.netxms.org/post/6027</link><guid isPermaLink="true">https://forum.netxms.org/post/6027</guid><dc:creator><![CDATA[DanG]]></dc:creator><pubDate>Wed, 28 Sep 2011 20:04:03 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with Windows Performance Counters on Wed, 28 Sep 2011 13:25:48 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Yes, it looks like 32bit applications cannot access counters provided by 64bit DLLs and vise versa: <a href="http://support.microsoft.com/kb/891238" rel="nofollow ugc">http://support.microsoft.com/kb/891238</a>. This problem also seems very similar: <a href="http://btsc.webapps.blackberry.com/btsc/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=KB21534" rel="nofollow ugc">http://btsc.webapps.blackberry.com/btsc/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=KB21534</a>. You can test it by running 32-bit agent on machine with AOS and check available objects with nxget.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/6026</link><guid isPermaLink="true">https://forum.netxms.org/post/6026</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 28 Sep 2011 13:25:48 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with Windows Performance Counters on Wed, 28 Sep 2011 13:06:02 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor,</p>
<p dir="auto">The command "nxget -w 30 -l windows_server_ip PDH.Objects" does NOT return the "Microsoft Dynamics AX Object Server" object (it returns 67 other objects). I run it as Administrator with the same result.</p>
<p dir="auto">If I use the "Reliability and Performance Monitor" software on the NetXMS server I do get to see the "Microsoft Dynamics AX Object Server" object. I can add counters from it (ex. ACTIVE SESSIONS) and the counters returns correct values. If I counted correctly there’re 77 object to be seen, among them .NET CLR Data, .Net CLR Exception,…</p>
<p dir="auto">NetXMS and the AOS are both running under Windows 2008 - 64 / SP2, however the AOS (Ax32Serv.exe *32) is a 32 bit application</p>
<p dir="auto">To be complete (this might be related) I should add that I had to start the "Performance Counter DLL Host" on the AOS server to enable the "Reliability and Performance Monitor" to see the "Microsoft Dynamics AX Object Server" object.</p>
<p dir="auto">Could it be 32 and 64 windows version related?</p>
<p dir="auto">Regards,</p>
<p dir="auto">Dan</p>
]]></description><link>https://forum.netxms.org/post/6025</link><guid isPermaLink="true">https://forum.netxms.org/post/6025</guid><dc:creator><![CDATA[DanG]]></dc:creator><pubDate>Wed, 28 Sep 2011 13:06:02 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with Windows Performance Counters on Wed, 28 Sep 2011 08:44:35 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">It's hard to tell anything without additional tests. I have found the following MS KB article: <a href="http://support.microsoft.com/kb/957841" rel="nofollow ugc">http://support.microsoft.com/kb/957841</a> but I'm not sure that this is the case. If I understand this article correctly, there is a bug when you can see counters, but cannot add them for collection. You wrote that you can see counters in perfmon - but can they be really added and data can be collected?<br />
Also, try to run from server's command line:</p>
<p dir="auto">nxget -w 30 -l windows_server_ip PDH.Objects</p>
<p dir="auto">you should get list of PDH objects, with Microsoft Dynamics AX Object Server among them. Then, try to run</p>
<p dir="auto">nxget -w 30 -l windows_server_ip "PDH.ObjectInstances(Microsoft Dynamics AX Object Server)" </p>
<p dir="auto">You should see the instance. And then</p>
<p dir="auto">nxget -w 30 -l windows_server_ip "PDH.ObjectCounters(Microsoft Dynamics AX Object Server)"</p>
<p dir="auto">Should show you list of counters.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/6023</link><guid isPermaLink="true">https://forum.netxms.org/post/6023</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 28 Sep 2011 08:44:35 GMT</pubDate></item></channel></rss>