[ZBX-23224] Calculated items require separate wildcards for each parameter in the item key Created: 2023 Aug 08  Updated: 2026 Jan 26  Resolved: 2026 Jan 26

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 6.4.5, 7.0.0alpha3
Fix Version/s: 7.0.23rc1, 7.4.7rc1, 8.0.0alpha2

Type: Documentation task Priority: Minor
Reporter: Kaspars Mednis Assignee: Andrii Fediuk
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 10h
Original Estimate: Not Specified

Team: Team Doc
Sprint: S25-W44/45, S25-W46/47, S25-W48/49, S25-W50/51/52/01, S26-W02/03
Story Points: 1

 Description   

Steps to reproduce:
Create items with multiple parameters in the item key
Example:

net.dns[8.8.8.8,example.zabbix.com,A]

Create calculated item with aggregation and specify wildcard in the item key

This will not work:

sum(last_foreach(/host/net.dns[*]))

This will work:

sum(last_foreach(/host/net.dns[*,*,*]))

Expected:

Wildcard in the item key matches all arguments.
Otherwise, this should be documented with examples.



 Comments   
Comment by Andrii Fediuk [ 2026 Jan 15 ]

Updated documentation:
 - Aggregate calculations: 7.0, 7.2, 7.4, 8.0 (new example added).

Generated at Fri Jun 12 05:13:30 EEST 2026 using Jira 10.3.18#10030018-sha1:5642e4ad348b6c2a83ebdba689d04763a2393cab.