[ZBX-19615] Template tags not inherited by triggers Created: 2021 Jun 30 Updated: 2025 Mar 27 Resolved: 2024 Dec 10 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 5.4.2 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Trivial |
Reporter: | Frank | Assignee: | Zabbix Development Team |
Resolution: | Duplicate | Votes: | 6 |
Labels: | tags, tem | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() |
||||||||||||||||||||||||
Issue Links: |
|
Description |
The tags set on the template do not seem to be inherited by the triggers. They are however inherited by items. Steps to reproduce:
Result: Template tags need to be explicitly set again on the triggers by hand. Expected: |
Comments |
Comment by Antons Sincovs [ 2021 Jun 30 ] |
Indeed, in version 5.4.2 the template’s tag is being shown as inherited by its items when “Tags” tab is set to “inherited and item tags”, but is not shown as inherited by its triggers with the same “inherited and item tags” setting in “Tags” tab. The same behavior applies to version 5.2.6 with an exception that there is no support for item tags, only trigger tags are supported and they are also not shown as inherited from the template they belong to. However in the documentation section https://www.zabbix.com/documentation/current/manual/config/tagging is stated that “A problem event inherits all tags from the whole chain of templates, hosts, items, triggers.” And having set tags for all entities: template, item and trigger - I see the problem event raised by the trigger is tagged with all three tags. Conclusion: tags ARE being inherited by triggers, but are not shown as inherited in the trigger configuration. |
Comment by Luis Felipe Rodríguez [ 2022 Aug 12 ] |
Also afects Zabbix 6.2.1. |
Comment by Dimitri Bervoets [ 2023 Nov 02 ] |
Using Zabbix 6.0, I experienced this issue. To workaround, I have to add tags on all templates of all items. Would be nice if inheriting tags from templates to items is solved. |
Comment by Egor [ 2024 Feb 21 ] |
Same for 7.0.0 beta1 |
Comment by Andrey Kunitsyn [ 2024 Nov 12 ] |
Looks like some regression. In 6.4 triggers inherited tags from template, but in 7.0 they are not. |
Comment by Andrey Kunitsyn [ 2024 Nov 12 ] |
Want to add, that it is not only visual problem, that they are not shown in “inherited and item tags” tab. After upgrade from 6.4 to 7.0 template tags really disappeared from problems. My Dashboard filters are broken now. |
Comment by Andrey Kunitsyn [ 2024 Nov 12 ] |
Also trigger actions filters are broken now. Can't filter now based on templates. |
Comment by Alexander Vladishev [ 2024 Dec 10 ] |
Already fixed in |