[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: GIF File Zabbix_2021_06_30_14_34_no-inherited-tags-shown-for-triggers-5.4.2.gif     GIF File Zabbix_2021_06_30_15_22-problem-event-inherits-all-tags.gif    
Issue Links:
Duplicate
duplicates ZBX-19678 Item, trigger and web scenario inheri... Open
duplicates ZBX-21532 Templated trigger does not show inher... Closed
is duplicated by ZBX-19485 Inherited tags are not shown in trigg... Closed
Sub-task
depends on ZBX-24118 Tag inheritance issue Closed

 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:

  1. Create a template
  2. Set a tag on the template
  3. Create an item
  4. On tags tab, click "Inherited and item tags"
  5. See that the template tag is inherited
  6. Create a trigger
  7. On tags tab, click "Inherited and item tags"
  8. See that the template tag is NOT inherited

Result:

Template tags need to be explicitly set again on the triggers by hand.

Expected:
Template tags to be inherited by the triggers



 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 ZBX-21532.

Generated at Fri Jun 06 12:35:29 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.