-
Problem report
-
Resolution: Unresolved
-
Trivial
-
7.0.14rc1, 7.2.8rc1, 7.4.0rc1 (master)
-
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:
- Run zabbix agent2 as administrator
- open the list of items of "Zabbix server" host
- Press "Create item" button
- In the opened form fill in the following item key: system.sw.packages[all]
- Press "Test" button
- In the opened item test form press "Get value and test" button
- 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)