Ad Widget

Collapse

W2K: Unable to add performance counter "\UnknownPerformanceCounter(_Total)\...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Maximum
    Junior Member
    • Sep 2006
    • 16

    #31
    Maybe this is the solution.

    I installed Zabbix for the first time yesterday and I managed to get the agent for linux working on the same machine as the server. When I tried the windows agent I ran into the:
    Unable to add performance counter "\Processor(_Total)\% Processor Time" to query: The specified object is not found on the system.

    To fix this I googled like h*ll and came to this solution:

    First, what is the problem ?
    The problem is one (or more) of the following:
    1. The files c:\windows\system32\perf*009.dat where * can be c, d, h or f are damaged
    2. The entries in the registry under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\Perflib\009 are corrupt
    3. The perfos.dll counters are disabled

    Second, what the f**k do you do to fix this ?
    1. let us hope that its just the perfos.dll counters that are disabled and start with enabling them.
    Download the program exctrlst.exe from M$

    install the program and start it, klick on the "library file" radio button and mark the line starting with perfos.dll in the list. Now the "Performance Counters Enabled" checkbox should be checked, if it's not - check it and reboot...and pray that it works after the reboot. (I belive that this step is rather harmless so I should try it on machines that are in production).

    2. If step 1 above did not work you have to do scary things that I should not try on important servers (without a real good backup, maybe clone your machine first) follow the directions on
    Microsoft Support is here to help you with Microsoft products. Find how-to articles, videos, and training for Microsoft Copilot, Microsoft 365, Windows 11, Surface, and more.


    I tried step 2 first and it did not help me, it only broke some of my .Net-performance counters, but did not give me the processor counter back.
    After this I found step 1 and when I enabled the perfos.dll counters the Zabbix agent started just fine. Because of this I dont know if "step 1" alone can fix the problem so you have to try, please post any success stories and tell me if you needed to do step 2.
    The machine that I had this problem on is running Windows XP Pro SP 2 english with all released hotfixes installed.
    Hope this post can help you guys.

    Best regards /Maximum

    Comment

    • coldfire
      Junior Member
      • Oct 2006
      • 3

      #32
      [solved]

      Hello there,

      great that's it for me too - I just had to do the first step - even without reboot, after checking the box for perfos.dll it worked immediately.

      Comment

      Working...