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

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Major Major
    • 5.2.5
    • Agent (G)
    • Team C
    • Sprint 78 (Jul 2021)
    • 1

      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.

        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

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

              Created:
              Updated:
              Resolved: