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)
    • 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.

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

              Created:
              Updated:
              Resolved: