Ad Widget

Collapse

Unable to Add Performance Counter error message on Win32 agent install

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • boylesa
    Junior Member
    • Dec 2004
    • 3

    #1

    Unable to Add Performance Counter error message on Win32 agent install

    If anyone has had (and has found a solution to the following) your help would be appreciated.

    I am currently installing the win32 agent on an internal W2k Small Business Server.

    The service is unable to install and the following is shown in the Log file:

    Unable to add performance counter "\Processor(_Total)\% Processor Time" to query: The specified object is not found on the system.

    I'm a bit stumped as I've installed the agent on 4 other (identical to my knowledge) boxes and all have worked perfectly.

    Thanks in anticipation
  • Danik
    Junior Member
    • May 2005
    • 4

    #2
    same trouble for me
    is there any solution, how can cpu statistics be gathered in windows trough perfomance monitor ?

    i have tried these variants:

    Code:
    PerfCounter= cpu5, "\Processor(_Total)\%Processor Time", 5
    PerfCounter= cpu5, "\Processor(_Total)\Processor Time/sec",5
    and agentd always made a notice in log file, like this one :
    Code:
    Unable to add user-defined counter "cpu5" (expanded to "\Processor(_Total)\Processor Time/sec") to query: The specified counter could not be found.
    may be there is some mistakes in syntax ?

    i have 1cpu windows 2003 enterprice edition box
    and use 1.0 version of zabbix.

    Comment

    • wlshanquan
      Junior Member
      • Mar 2008
      • 11

      #3
      Same problem!!

      ZABBIX Agent Win32 (service) v1.6 (18 September 2008)
      Compilation time: Sep 18 2008 18:31:01


      cfg: para: [Hostname] val [Windows XP]
      cfg: para: [StartAgents] val [5]
      cfg: para: [LogFile] val [c:\zabbix_agentd.log]
      cfg: para: [Timeout] val [3]
      zabbix_agentd collector started
      zabbix_agentd listener started
      zabbix_agentd listener started
      zabbix_agentd active check started [192.168.142.2:10051]
      zabbix_agentd listener started
      In GetCounterName() [index:238]
      In init_active_metrics()
      In send_buffer('192.168.142.2','10051')
      In GetCounterName() [index:6]
      Values in the buffer 0 Max 100
      Unable to add performance counter "\Processor(_Total)\% Processor Time" to query:
      refresh_active_checks('192.168.142.2',10051)
      Sending [{
      "request":"active checks",
      "host":"Windows XP"}]
      Before read
      Got [{
      "response":"success",
      "data":[]}]
      In parse_list_of_checks() [{
      "response":"success",
      "data":[]}]
      Last edited by wlshanquan; 31-10-2008, 07:27.

      Comment

      • wlshanquan
        Junior Member
        • Mar 2008
        • 11

        #4
        I have fixed it!

        Go to the page:http://www.zabbix.com/developers.php
        Download the 1.6 ver and install.

        zabbix_agentd.exe --install
        zabbix_agentd.exe --start

        Comment

        Working...