Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-19116

system.cpu.util for agent2 not working in non english windows

    XMLWordPrintable

    Details

    • Type: Problem report
    • Status: Done
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.2.5
    • Component/s: Agent (G)
    • Labels:
    • Environment:
    • Team:
      Team C
    • Sprint:
      Sprint 78 (Jul 2021)
    • Story Points:
      1

      Description

      Steps to reproduce:

      1. Windows non english locale(russian in my case)
      2. Zabbix Agent 2 ver 5.2.5
      3. Zabbix Server 5.2.5
      4. Default Template(5.2.5): Windows by Zabbix agent active
      5. Default agent config
      6. Default item: system.cpu.util

      Result:

      [Cpu] cannot add performance counter for total CPU utilization: Указанные объекты не найдены на этом компьютере.

      system.cpu.util returned always 0%
      See log file - zabbix_agent2.log

      Expected:
      Normal working check in non english windows.

      (in Zabbix Agent1(5.2.5) all working.

       

      A colleague from the telegram chat Zabbix Russian Community (Alexander Khatsayuk) reproduced the problem and looked at the source code - the system counters are requested in English.

      At the same time, there is no problem on the agent of the first version.

        Attachments

        1. perf_counters.txt
          151 kB
          Maksim Strekalovskikh
        2. Screenshot 2021-03-25 at 15.46.18.png
          2.42 MB
          Edgar Akhmetshin
        3. Screenshot 2021-03-25 at 15.48.20.png
          204 kB
          Edgar Akhmetshin
        4. zabbix_agent2_debug_5.log
          24 kB
          Valentin Tumanov
        5. zabbix_agent2.log
          4 kB
          Valentin Tumanov

          Issue Links

            Activity

              People

              Assignee:
              arimdjonoks Artjoms Rimdjonoks
              Reporter:
              valentusys Valentin Tumanov
              Votes:
              6 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated: