Ad Widget

Collapse

"\Processor (_Load)\% Processor time": Invalid performance counter format

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    "\Processor (_Load)\% Processor time": Invalid performance counter format

    It is a Windows 10 Enterprise server. How do I fix the tproblem "Cannot add performance counter "\Processor (_Load)\% Processor time": Invalid performance counter format"? The Zabbix Agent is 4.0.17.

    #2
    We need some more information to help here. What is the exact item expression?

    Comment


      #3
      Originally posted by NilsA View Post
      We need some more information to help here. What is the exact item expression?

      This record is in the zabbix agent log, already in the zabbix server log I have:

      Zabbix agent item "perf_counter [\ 2 \ 18]" on host "estmoncftv05.unipam.edu.br" failed: first network error, wait for 15 seconds

      Zabbix agent item "perf_counter [\ 234 (_Total) \ 1404]" on host "estmoncftv05.unipam.edu.br" failed: first network error, wait for 15 seconds

      On the web interface, on the host, all three items of Processor load are not supported, with the message: Collector not started.

      Comment


        #4
        Were the items supported before?

        Also try increasing debuglevel and check the server logs again. What item key are you using?

        Comment


          #5
          As item keys are these:
          • Processor load (1min average) -> system.cpu.load[percpu,avg1] -> Info: Collector is not started
          • Processor load (5min average) -> system.cpu.load[percpu,avg5] -> Info: Collector is not started
          • Processor load (15min average) -> system.cpu.load[percpu,avg15] -> Info: Collector is not started

          Comment


            #6
            On the problem computer, run the command «lodctr /R» as an administrator.

            Comment


              #7
              Originally posted by Hamardaban View Post
              On the problem computer, run the command «lodctr /R» as an administrator.

              I ran the command «lodctr /R», but it didn't work. Then enabled log level 5, see:

              Code:
              372:20201109:150852.186 Starting Zabbix Agent [estmoncftv05.unipam.edu.br]. Zabbix 4.0.17 (revision a528a0a4bc).
              372:20201109:150852.188 **** Enabled features ****
              372:20201109:150852.190 IPv6 support: YES
              372:20201109:150852.192 TLS support: YES
              372:20201109:150852.194 **************************
              372:20201109:150852.196 using configuration file: C:\Program Files\Zabbix Agent\zabbix_agentd.conf
              372:20201109:150852.198 In init_collector_data()
              372:20201109:150852.199 logical CPU count 4
              372:20201109:150852.200 End of init_collector_data()
              372:20201109:150852.201 In init_perf_collector()
              372:20201109:150852.203 In init_builtin_counter_indexes()
              372:20201109:150852.204 In get_all_counter_eng_names()
              372:20201109:150852.308 End of get_all_counter_eng_names()
              372:20201109:150852.309 End of init_builtin_counter_indexes():SUCCEED
              372:20201109:150852.310 End of init_perf_collector():SUCCEED
              372:20201109:150852.313 OpenSSL library (version OpenSSL 1.1.1 11 Sep 2018) initialized
              372:20201109:150852.314 agent #0 started [main process]
              3544:20201109:150852.315 agent #4 started[listener #3]
              976:20201109:150852.316 agent #6 started[listener #5]
              5092:20201109:150852.317 agent #5 started[listener #4]
              1500:20201109:150852.318 agent #1 started [collector]
              4812:20201109:150852.319 agent #2 started[listener #1]
              4524:20201109:150852.320 agent #3 started[listener #2]
              3544:20201109:150852.321 In zbx_tls_init_child()
              976:20201109:150852.322 In zbx_tls_init_child()
              5092:20201109:150852.323 In zbx_tls_init_child()
              1500:20201109:150852.324 In init_cpu_collector()
              4812:20201109:150852.325 In zbx_tls_init_child()
              4524:20201109:150852.326 In zbx_tls_init_child()
              3544:20201109:150852.327 End of zbx_tls_init_child()
              976:20201109:150852.328 End of zbx_tls_init_child()
              5092:20201109:150852.329 End of zbx_tls_init_child()
              1500:20201109:150852.330 In get_counter_name() pdhIndex:238
              4812:20201109:150852.331 End of zbx_tls_init_child()
              4524:20201109:150852.332 End of zbx_tls_init_child()
              1500:20201109:150852.527 End of get_counter_name():SUCCEED
              1500:20201109:150852.528 In get_counter_name() pdhIndex:5956
              1500:20201109:150852.529 End of get_counter_name():SUCCEED
              1500:20201109:150852.530 In add_perf_counter() counter:'\Processador(_Total)\% Tempo do Processador' interval:900
              1500:20201109:150852.532 add_perf_counter(): unable to add PerfCounter '\Processador(_Total)\% Tempo do Processador': [0xC0000BB9] Não foi possível encontrar o contador especificado.
              1500:20201109:150852.533 End of add_perf_counter(): FAIL
              1500:20201109:150852.534 cannot add performance counter "\Processador(_Total)\% Tempo do Processador": Invalid performance counter format.
              1500:20201109:150852.535 End of init_cpu_collector():FAIL
              1500:20201109:150852.536 In free_cpu_collector()
              1500:20201109:150852.537 End of free_cpu_collector()
              1500:20201109:150852.538 In collect_perfstat()
              1500:20201109:150852.539 collect_perfstat() call to PdhCollectQueryData() failed: [0x800007D5] Não há dados a serem retornados.
              1500:20201109:150852.540 End of collect_perfstat()
              1500:20201109:150853.542 In collect_perfstat()
              1500:20201109:150853.544 collect_perfstat() call to PdhCollectQueryData() failed: [0x800007D5] Não há dados a serem retornados.
              1500:20201109:150853.545 End of collect_perfstat()
              5092:20201109:150854.222 Requested [perf_counter[\2\16]]
              5092:20201109:150854.224 In PERF_COUNTER()
              5092:20201109:150854.225 In get_counter_name() pdhIndex:2
              5092:20201109:150854.227 End of get_counter_name():SUCCEED
              5092:20201109:150854.229 In get_counter_name() pdhIndex:16
              5092:20201109:150854.231 End of get_counter_name():SUCCEED
              5092:20201109:150854.233 counter path converted to '\\ESTMONCFTV05\Sistema\Bytes de leitura de arquivo/s'
              5092:20201109:150854.235 In get_perf_counter_value_by_path() path:\\ESTMONCFTV05\Sistema\Bytes de leitura de arquivo/s interval:1 lang:0
              5092:20201109:150854.236 In add_perf_counter() counter:'\\ESTMONCFTV05\Sistema\Bytes de leitura de arquivo/s' interval:1
              5092:20201109:150854.240 add_perf_counter(): PerfCounter '\\ESTMONCFTV05\Sistema\Bytes de leitura de arquivo/s' successfully added
              5092:20201109:150854.242 End of add_perf_counter(): SUCCEED
              5092:20201109:150854.244 get_perf_counter_value_by_path(): PerfCounter '\\ESTMONCFTV05\Sistema\Bytes de leitura de arquivo/s' successfully added
              976:20201109:150854.287 Requested [perf_counter[\2\18]]
              976:20201109:150854.289 In PERF_COUNTER()
              976:20201109:150854.291 In get_counter_name() pdhIndex:2
              976:20201109:150854.293 End of get_counter_name():SUCCEED
              976:20201109:150854.294 In get_counter_name() pdhIndex:18
              976:20201109:150854.296 End of get_counter_name():SUCCEED
              976:20201109:150854.298 counter path converted to '\\ESTMONCFTV05\Sistema\Bytes de gravação de arquivo/s'
              976:20201109:150854.300 In get_perf_counter_value_by_path() path:\\ESTMONCFTV05\Sistema\Bytes de gravação de arquivo/s interval:1 lang:0
              976:20201109:150854.301 In add_perf_counter() counter:'\\ESTMONCFTV05\Sistema\Bytes de gravação de arquivo/s' interval:1
              976:20201109:150854.304 add_perf_counter(): PerfCounter '\\ESTMONCFTV05\Sistema\Bytes de gravação de arquivo/s' successfully added
              976:20201109:150854.306 End of add_perf_counter(): SUCCEED
              976:20201109:150854.308 get_perf_counter_value_by_path(): PerfCounter '\\ESTMONCFTV05\Sistema\Bytes de gravação de arquivo/s' successfully added
              4812:20201109:150854.411 Requested [perf_counter[\2\250]]
              4812:20201109:150854.413 In PERF_COUNTER()
              4812:20201109:150854.415 In get_counter_name() pdhIndex:2
              4812:20201109:150854.417 End of get_counter_name():SUCCEED
              4812:20201109:150854.418 In get_counter_name() pdhIndex:250
              4812:20201109:150854.420 End of get_counter_name():SUCCEED
              4812:20201109:150854.422 counter path converted to '\\ESTMONCFTV05\Sistema\Threads'
              4812:20201109:150854.424 In get_perf_counter_value_by_path() path:\\ESTMONCFTV05\Sistema\Threads interval:1 lang:0
              4812:20201109:150854.426 In add_perf_counter() counter:'\\ESTMONCFTV05\Sistema\Threads' interval:1
              4812:20201109:150854.429 add_perf_counter(): PerfCounter '\\ESTMONCFTV05\Sistema\Threads' successfully added
              4812:20201109:150854.431 End of add_perf_counter(): SUCCEED
              4812:20201109:150854.432 get_perf_counter_value_by_path(): PerfCounter '\\ESTMONCFTV05\Sistema\Threads' successfully added
              4812:20201109:150854.435 End of get_perf_counter_value_by_path():SUCCEED
              4812:20201109:150854.437 End of PERF_COUNTER():SUCCEED
              4812:20201109:150854.439 Sending back [1306.000000]
              1500:20201109:150854.548 In collect_perfstat()
              1500:20201109:150854.551 End of collect_perfstat()
              5092:20201109:150855.249 End of get_perf_counter_value_by_path():SUCCEED
              5092:20201109:150855.251 End of PERF_COUNTER():SUCCEED
              5092:20201109:150855.253 Sending back [2065.932297]
              4524:20201109:150855.257 Requested [proc.num[]]
              4524:20201109:150855.264 Sending back [120]
              976:20201109:150855.313 End of get_perf_counter_value_by_path():SUCCEED
              976:20201109:150855.314 End of PERF_COUNTER():SUCCEED
              976:20201109:150855.316 Sending back [1540.831126]
              1500:20201109:150855.554 In collect_perfstat()
              1500:20201109:150855.558 End of collect_perfstat()
              3544:20201109:150855.613 Requested [net.if.in[SMC EZ Card 10/100 (SMC 1244TX-1)]]
              3544:20201109:150855.630 Sending back [269903928232]
              5092:20201109:150856.345 Requested [net.if.out[SMC EZ Card 10/100 (SMC 1244TX-1)]]
              5092:20201109:150856.359 Sending back [11035305446]
              1500:20201109:150856.561 In collect_perfstat()
              1500:20201109:150856.564 End of collect_perfstat()
              1500:20201109:150857.567 In collect_perfstat()
              1500:20201109:150857.570 End of collect_perfstat()
              1500:20201109:150858.573 In collect_perfstat()
              1500:20201109:150858.577 End of collect_perfstat()
              1500:20201109:150859.580 In collect_perfstat()
              1500:20201109:150859.583 End of collect_perfstat()
              1500:20201109:150900.586 In collect_perfstat()
              1500:20201109:150900.590 End of collect_perfstat()
              1500:20201109:150901.593 In collect_perfstat()
              1500:20201109:150901.596 End of collect_perfstat()
              1500:20201109:150902.599 In collect_perfstat()
              1500:20201109:150902.602 End of collect_perfstat()
              1500:20201109:150903.605 In collect_perfstat()
              1500:20201109:150903.609 End of collect_perfstat()
              1500:20201109:150904.612 In collect_perfstat()
              1500:20201109:150904.616 End of collect_perfstat()
              1500:20201109:150905.619 In collect_perfstat()
              1500:20201109:150905.623 End of collect_perfstat()
              1500:20201109:150906.626 In collect_perfstat()
              1500:20201109:150906.629 End of collect_perfstat()
              1500:20201109:150907.633 In collect_perfstat()
              1500:20201109:150907.637 End of collect_perfstat()
              1500:20201109:150908.639 In collect_perfstat()
              1500:20201109:150908.643 End of collect_perfstat()
              1500:20201109:150909.646 In collect_perfstat()
              1500:20201109:150909.649 End of collect_perfstat()
              1500:20201109:150910.652 In collect_perfstat()
              1500:20201109:150910.656 End of collect_perfstat()
              1500:20201109:150911.658 In collect_perfstat()
              1500:20201109:150911.662 End of collect_perfstat()
              4524:20201109:150912.606 Requested [system.uptime]
              4524:20201109:150912.608 In PERF_COUNTER()
              4524:20201109:150912.610 In get_counter_name() pdhIndex:2
              4524:20201109:150912.612 End of get_counter_name():SUCCEED
              4524:20201109:150912.614 In get_counter_name() pdhIndex:674
              4524:20201109:150912.616 End of get_counter_name():SUCCEED
              4524:20201109:150912.618 counter path converted to '\\ESTMONCFTV05\Sistema\Tempo de atividade do sistema'
              4524:20201109:150912.620 In get_perf_counter_value_by_path() path:\\ESTMONCFTV05\Sistema\Tempo de atividade do sistema interval:1 lang:0
              4524:20201109:150912.621 In add_perf_counter() counter:'\\ESTMONCFTV05\Sistema\Tempo de atividade do sistema' interval:1
              4524:20201109:150912.625 add_perf_counter(): PerfCounter '\\ESTMONCFTV05\Sistema\Tempo de atividade do sistema' successfully added
              4524:20201109:150912.627 End of add_perf_counter(): SUCCEED
              4524:20201109:150912.628 get_perf_counter_value_by_path(): PerfCounter '\\ESTMONCFTV05\Sistema\Tempo de atividade do sistema' successfully added
              4524:20201109:150912.630 End of get_perf_counter_value_by_path():SUCCEED
              4524:20201109:150912.631 End of PERF_COUNTER():SUCCEED
              4524:20201109:150912.633 Sending back [956131]
              1500:20201109:150912.664 In collect_perfstat()
              1500:20201109:150912.667 End of collect_perfstat()
              1500:20201109:150913.669 In collect_perfstat()
              1500:20201109:150913.673 End of collect_perfstat()
              1500:20201109:150914.676 In collect_perfstat()
              1500:20201109:150914.679 End of collect_perfstat()
              1500:20201109:150915.682 In collect_perfstat()
              1500:20201109:150915.686 End of collect_perfstat()
              976:20201109:150916.394 Requested [perf_counter[\234(_Total)\1404]]
              976:20201109:150916.396 In PERF_COUNTER()
              976:20201109:150916.398 In get_counter_name() pdhIndex:234
              976:20201109:150916.399 End of get_counter_name():SUCCEED
              976:20201109:150916.401 In get_counter_name() pdhIndex:1404
              976:20201109:150916.403 End of get_counter_name():SUCCEED
              976:20201109:150916.405 counter path converted to '\\ESTMONCFTV05\PhysicalDisk(_Total)\Comprimento médio da fila de gravação de disco'
              976:20201109:150916.407 In get_perf_counter_value_by_path() path:\\ESTMONCFTV05\PhysicalDisk(_Total)\Comprimen to médio da fila de gravação de disco interval:1 lang:0
              976:20201109:150916.408 In add_perf_counter() counter:'\\ESTMONCFTV05\PhysicalDisk(_Total)\Compr imento médio da fila de gravação de disco' interval:1
              976:20201109:150916.414 add_perf_counter(): PerfCounter '\\ESTMONCFTV05\PhysicalDisk(_Total)\Comprimento médio da fila de gravação de disco' successfully added
              976:20201109:150916.415 End of add_perf_counter(): SUCCEED
              976:20201109:150916.417 get_perf_counter_value_by_path(): PerfCounter '\\ESTMONCFTV05\PhysicalDisk(_Total)\Comprimento médio da fila de gravação de disco' successfully added
              1500:20201109:150916.688 In collect_perfstat()
              1500:20201109:150916.692 End of collect_perfstat()
              3544:20201109:150916.870 Requested [vm.memory.size[free]]
              3544:20201109:150916.872 Sending back [6382862336]
              976:20201109:150917.420 End of get_perf_counter_value_by_path():SUCCEED
              976:20201109:150917.422 End of PERF_COUNTER():SUCCEED
              976:20201109:150917.424 Sending back [0.003511]
              1500:20201109:150917.695 In collect_perfstat()
              1500:20201109:150917.698 End of collect_perfstat()

              Comment


                #8
                I found that the problem is with Windows 10, because with the following servers there was no problem with an item not supported by an uninitiated collector.

                The problem does not occur:
                • Windows 2012 R2 Datacenter
                • Windows 2012 R2 Standard
                • Windows 2012 Standard
                • Windows 7 Profissional

                The problem occurs:
                • Windows 10 Pro
                • Windows 10 Enterprise LTSC

                Comment

                Announcement

                Collapse
                No announcement yet.
                Working...
                X