-
Type:
Problem report
-
Resolution: Unresolved
-
Priority:
Trivial
-
None
-
Affects Version/s: 7.0.27rc1, 7.4.11rc1, 8.0.0beta1
-
Component/s: Agent2 (G)
Steps to reproduce:
- Test parameterless item keys with extra parameters using agent2:
./sbin/zabbix_agent2 -t "vfs.dev.discovery[test,params]" ./sbin/zabbix_agent2 -t "system.cpu.switches[test,params]" ./sbin/zabbix_agent2 -t "system.cpu.intr[test,params]"
- Compare with Zabbix agentd:
./sbin/zabbix_agentd -t "system.cpu.switches[test,params]" ./sbin/zabbix_agentd -t "system.cpu.intr[test,params]" ./sbin/zabbix_agentd -t "vfs.dev.discovery[test,params]"
Result: Agent2 ignores extra parameters and returns data as if no parameters were provided:
ystem.cpu.switches[test,params] [s|11176518]
system.cpu.intr[test,params] [s|8276576]
vfs.dev.discovery[test,params] [s|[{"{#DEVNAME}":"loop0",...}]]
Expected: The behavior should be the same as for Zabbix agent - extra parameters should be rejected with "Item does not allow parameters." message:
system.cpu.switches[test,params] [m|ZBX_NOTSUPPORTED] [Item does not allow parameters.] system.cpu.intr[test,params] [m|ZBX_NOTSUPPORTED] [Item does not allow parameters.] vfs.dev.discovery[test,params] [m|ZBX_NOTSUPPORTED] [Item does not allow parameters.]
- part of
-
ZBX-27725 Zabbix agent 2 doesn't have parameter validation for the item: vfs.dev.discovery
-
- Confirmed
-