[ZBX-25717] Inherited tags not working on triggers created by a Trigger Prototype Created: 2024 Dec 10 Updated: 2025 Apr 02 Resolved: 2025 Mar 18 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 7.0.5, 7.0.6 |
Fix Version/s: | 7.0.11rc1, 7.2.5rc1, 7.4.0beta1 (master) |
Type: | Problem report | Priority: | Minor |
Reporter: | Gustavo Dias | Assignee: | Eliza Sekace |
Resolution: | Fixed | Votes: | 5 |
Labels: | Discovery, tags | ||
Remaining Estimate: | 0h | ||
Time Spent: | 16h 50m | ||
Original Estimate: | 10h |
Attachments: |
![]() ![]() ![]() ![]() ![]() |
||||||||||||||||
Issue Links: |
|
||||||||||||||||
Team: | |||||||||||||||||
Sprint: | S25-W4/5, S25-W6/7, S25-W8/9, S25-W10/11, S25-W12/13 | ||||||||||||||||
Story Points: | 1.25 |
Description |
Recencly updated from 6.4 to 7.0.5 . Can someone reproduce this issue? Steps to reproduce:
Result: Thank you. |
Comments |
Comment by Gustavo Dias [ 2024 Dec 10 ] |
Bumped version to 7.0.6 for a quick test and same issue. |
Comment by Andrey Kunitsyn [ 2024 Dec 11 ] |
I'm curious why the priority is so low? It's a serious regression. I have several support teams, every team is responsible for own application. The applications have own template and tags based on guidelines https://www.zabbix.com/documentation/guidelines/en/thosts/configuration/templates#tags Now the process is totally broken. The team's dashboards do not show problems. The teams do not get notifications about their applications. "Applications" was replaced by Tags in 5.4. Now there is no other way to filter something by template. |
Comment by Gustavo Dias [ 2024 Dec 11 ] |
abyss , my workaround was to go into each trigger prototype and add tags to the trigger . To my surprise it did not crash with the ones you can see inherited from the template. Got to remember to remove them before applying a patch. Using the mass update was fine in my case, but maybe you have a bigger use case and using api is more practical. |
Comment by Andrey Kunitsyn [ 2024 Dec 11 ] |
gdzias agree. it is workaround, but also I need to add tags to all Trigger prototypes in all Discovery rules in every template. It's possible, but some amount extra work now and after patch. Also I'm not sure how it influences on the database size and speed of generating problems. |
Comment by Gustavo Dias [ 2025 Jan 24 ] |
Also found that it is not possible to filter Items by inherited tags. If you go to Hosts -> select one host items -> reset query -> and search for tags (that you know hosts inherit) , no result is displayed for items that have inherited tags one is trying to search for. Most likely it is all related to the same root cause, at least I hope so. |
Comment by Eliza Sekace [ 2025 Jan 28 ] |
Fixed in development branches: |
Comment by Alexander Vladishev [ 2025 Jan 28 ] |
gdzias, currently, there is no option to filter by inherited tags. However, we are working on this functionality, and it is likely to be included in the next major release. |
Comment by Juho Ylikorpi [ 2025 Feb 17 ] |
It seems that this is still broken if tags should be inherited from host prototype template. Editing trigger show inherited tags, but tags are not added to problems and are not visible via API. |
Comment by Mateusz Dampc [ 2025 Mar 03 ] |
Any update about this? When we might expect to fix this bug? Our customers which relay on trigger prototypes tags cannot get notifications, because problems don't have proper tags in action condition. |
Comment by Erik Deneve [ 2025 Mar 13 ] |
We’ve encountered the same bug, and it’s quite frustrating (even blocking) since our permissions and actions depend on these tags. |
Comment by dimir [ 2025 Mar 13 ] |
This issue is ongoing the testing stage. It will be released ASAP. Stay tuned! |
Comment by Eliza Sekace [ 2025 Mar 17 ] |
Available in:
|
Comment by Andrey Kunitsyn [ 2025 Mar 31 ] |
Hello They are not exposed from Triggers prototypes, but exposed from template triggers
I see now that they are inherited But not exposed to problems Also I do not understand from where comes `component: mssql-job` It is not seen in Trigger inherited tags. But I'm pretty sure that it is related to update from 6.4 to 7.0 |
Comment by Erik Deneve [ 2025 Mar 31 ] |
We are still experiencing the same issue even after upgrading to version 7.2.5. |
Comment by Alexander Vladishev [ 2025 Mar 31 ] |
erik.deneve, Could you please provide more details about the issue? |
Comment by Erik Deneve [ 2025 Apr 01 ] |
Hi Alexander, I’ve included all the details in a commercial support ticket. Starting from version 7.2.5, the tags displayed in the trigger configuration form are correct. However, the event generation is still not applying these tags to the events. It's odd because it works as expected for some LLD triggers, but not for others (At the moment, we can't determine when it works and when it doesn't). I suspect indeed this issue was introduced during the upgrade from version 6.4 to 7.2. For more information, including SQL queries and screenshots, please refer to PR-8187. Best regards, |
Comment by Alexander Vladishev [ 2025 Apr 01 ] |
abyss, you're describing an issue that occurs during event (problem) generation on the backend side. This ticket is specifically about the display of inherited tags in the trigger prototype form. To avoid mixing different issues, please create a separate ticket for this. At the moment, I'm trying to reproduce this issue, but so far without success. Does it occur consistently for all triggers created via discovery rules, or only for some of them? |
Comment by Andrey Kunitsyn [ 2025 Apr 01 ] |
I've created a new issue ZBX-26259 |
Comment by Alexander Vladishev [ 2025 Apr 01 ] |
abyss, Thank you! Let’s continue the discussion about problem generation with missing tags in the new issue ZBX-26259. |