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

Agent2: using "all" in specific item key parameters is interpreted as a regex "all" and not a key word that should return all values

XMLWordPrintable

    • Sprint candidates

      Problem description: When keyword "all" is used in some specific item key parameters agent2 processes it as a regex and returns only the results containing "all" string, instead of actually returning all results (as it should be according to our user manual, for example, for system.sw.packages).
      Regular zabbix agent works correctly and returns all results.
      Affected item key examples (there could be more impacted keys):

      • system.sw.packages[all]
      • system.sw.packages.get[all]
      • system.hw.macaddr[all]

      Steps to reproduce:

      1. Run zabbix agent2 as administrator
      2. open the list of items of "Zabbix server" host
      3. Press "Create item" button
      4. In the opened form fill in the following item key: system.sw.packages[all]
      5. Press "Test" button
      6. In the opened item test form press "Get value and test" button
      7. Check the returned values

      Result: Only the packages that contain string "all" are returned in the result
      Expected: according to above mentioned documentation, "all" is a keyword and can be used to return all existing results (as it is currently done by regular zabbix agent)

            zit Zabbix Integration Team
            solonkins Sergejs Olonkins
            Team INT
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: