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

Zabbix agent system.cpu key inconsistency

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 5.0.22
    • Agent (G)
    • None

      Steps to reproduce:

      1. On linux.
      2. Run Zabbix agent on VM supporting hot plugging cpu (example, https://docs.oracle.com/en/virtualization/virtualbox/6.0/admin/cpuhotplug.html)
      3. Remove cpu in middle (example if 0-4 cpu set, unplug cpu 1,2 or 3)
      4. Run Zabbix agent
      5. Execute Zabbix get with key system.cpu.discovery
      6. Execute Zabbix get with key system.cpu.num[max]

      Result:
      The removed cpu will be there, for  system.cpu.discovery
      The removed cpu will not be there, for system.cpu.num[max]
      Expected:
      The removed cpu will be there, for  system.cpu.discovery
      The removed cpu will be there, for system.cpu.num[max]

       

      Since Zabbix agent 2 uses the same parameter that Zabbix agent, the issue persists there as well.

            zabbix.dev Zabbix Development Team
            esneiders Eriks Sneiders
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: