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

Template "Windows CPU by Zabbix agent", does not recognize the number of CPUs.

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 5.2.0
    • Templates (T)
    • Windows Server 2019

      Hi there,
      In Zabbix v5.2 original template "Windows CPU by Zabbix agent", the number of CPU cores is not recognized or incorrectly reported back.

      The error message:

      Value of type "string" is not suitable for value type "Numeric (unsigned)"
      

      The correct value is returned with powershell

      wmic CPU get NumberOfCores,NumberOfLogicalProcessors
      NumberOfCores  NumberOfLogicalProcessors
      6              12
      

        1. Core_CPU.png
          130 kB
          Stefan Sabolowitsch
        2. cpus.PNG
          59 kB
          Aleksandrs Pahomovs
        3. cpus-1.PNG
          17 kB
          Aleksandrs Pahomovs
        4. image-2020-11-17-10-27-55-459.png
          34 kB
          Aleksandrs Pahomovs
        5. image-2020-11-19-15-21-21-626.png
          38 kB
          Aleksandrs Pahomovs

            zabbix.dev Zabbix Development Team
            StefanSa Stefan Sabolowitsch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: