[ZBXNEXT-2976] Support of tags for configuration entities like hosts, items, triggers, graphs, ... Created: 2015 Sep 20 Updated: 2024 May 06 Resolved: 2021 May 31 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | API (A), Frontend (F) |
Affects Version/s: | 2.2.10 |
Fix Version/s: | 5.4.0beta3, 5.4 (plan) |
Type: | New Feature Request | Priority: | Trivial |
Reporter: | Marc | Assignee: | Miks Kronkalns |
Resolution: | Fixed | Votes: | 30 |
Labels: | actions, conditions, filters, tags, usability | ||
Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
||||||||||||||||||||||||||||||||||||||||
Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||
Sub-Tasks: |
|
||||||||||||||||||||||||||||||||||||||||
Team: | |||||||||||||||||||||||||||||||||||||||||
Sprint: | Sprint 69 (Oct 2020), Sprint 70 (Nov 2020), Sprint 71 (Dec 2020), Sprint 72 (Jan 2021), Sprint 73 (Feb 2021), Sprint 74 (Mar 2021), Sprint 75 (Apr 2021), Sprint 76 (May 2021), Sprint 77 (Jun 2021) | ||||||||||||||||||||||||||||||||||||||||
Story Points: | 10 |
Description |
How about supporting tags or key words in configuration entities like hosts, items, triggers, graphs, maps, screens and possibly more? Such tags may provide contextual information, extend frontend filtering as well as action conditions with a flexible option. The idea is certainly not new as some sort of tagging can be found in many applications nowadays. |
Comments |
Comment by Ryan Armstrong [ 2015 Oct 06 ] |
Tags on hosts would be invaluable, especially when drilling down through a huge list of hosts. Using custom tags, we could filter based on whatever we want and use host groups for their intended purpose; simply delegating permissions. Tags would in turn be used for filtering and searching. In my mind, if we could assign any tag we liked, I'd give each host a tag for operating system, OS version, physical/virtual state, dev/test/prod environment, hosted application, etc. Then I could filter the latest data screen for all 'physical', 'production' servers running 'centos' version '6'. FYI, Tagging hosts is a very successful feature in both AWS and Azure. |
Comment by Ryan Armstrong [ 2015 Oct 06 ] |
Even better would be the ability to assign tags using item values (the same way we can populate inventory items) and to assign tags via host auto registration. |
Comment by Joaquin Fernandez Llamas [ 2018 Mar 27 ] |
Moving from host groups to tags would be a huge usability improvement. This FR should have higher priority, right now Zabbix is lagging behind in host classification. |
Comment by Marc [ 2018 Jul 23 ] |
Trigger level tags implemented with |
Comment by Alexei Vladishev [ 2018 Jul 23 ] |
I am pretty sure host level tags are coming soon. Item level tags are coming as well, as a side effect they will replace applications as we know them. |
Comment by Alexei Vladishev [ 2018 Aug 20 ] |
Hey all! Please have a look at the attached acceptance criteria document that describes proposed enhancements for host and template level tags. It has all chances to be implemented in Zabbix 4.2. Let me know what you think. Is there anything to improve? I appreciate any feedback. |
Comment by Dimitri Bellini [ 2018 Oct 18 ] |
Hi Alexei,
Thanks very much |
Comment by Marc [ 2018 Oct 18 ] |
Item tags may possibly even replace Item applications. |
Comment by Alexei Vladishev [ 2020 Nov 11 ] |
We are replacing item applications by tags in Zabbix 5.4, stay tuned! |
Comment by Dimitri Bellini [ 2020 Nov 11 ] |
@Alexei very good news! |
Comment by Dimitri Bellini [ 2021 Jan 15 ] |
@Alexei Only today i re-read the Feature Spec and i have some question at this time (from last comment of 2018...). Do you want use TAGS inside a Trigger formula? I ask that because could be a very nice feature to solve issue related to monitoring Cloud environment. Usually the trigger is based on Items in my idea the Items could be replaced by their "tags" For example: Item key: vfs.file.cksum[/etc/passwd] - Tag: passwdcheck Trigger Expression: {passwdcheck.diff()}>0 In my idea if we use a Tag for a trigger we could have a single Trigger referred to all the Items that have the Tag "passwdcheck", so if we have one or more items (discovered items) we still use a single Trigger. PS: I know you have already think about but i asked only to be sure
|
Comment by Alexei Vladishev [ 2021 Jan 15 ] |
dimitri.bellini, selection of items by tags will be implemented for calculated items and trigger expressions under https://support.zabbix.com/browse/ZBXNEXT-6374. |
Comment by Dimitri Bellini [ 2021 Jan 15 ] |
Ok understood! Thanks so much |
Comment by Miks Kronkalns [ 2021 Jan 28 ] |
Implemented in development branch feature/ZBXNEXT-2976-5.3. |
Comment by Miks Kronkalns [ 2021 Apr 13 ] |
Implemented in:
|
Comment by Grigory Morozov [ 2021 May 01 ] |
Is this change breaking the Zabbix data source in Grafana with 'Method not found. Incorrect API "application"'? |
Comment by Alexei Vladishev [ 2021 May 03 ] |
negrusti, it may break things because we do not support application anymore. I think this question should be addresses to the author of the Grafana's Zabbix plugin. |
Comment by Grigory Morozov [ 2021 May 03 ] |
@alexei can you please correct the specification then: |
Comment by Alexei Vladishev [ 2021 May 03 ] |
negrusti, documentation be be adjusted soon, the work on Zabbix 5.4 is still in progress. |
Comment by Grigory Morozov [ 2021 May 03 ] |
@Alexei Vladishev how can we help? This broke the setups of many people without reasonable options for rollback. Is there any API document for Tags that we can use? |
Comment by Alexei Vladishev [ 2021 May 03 ] |
negrusti, there is nothing you can help, just wait for this feature to be documented. It will happen before release of Zabbix 5.4. I do not think that it is a good idea to rely on release candidates or beta software for any serious use. |
Comment by Gregory Orciuch [ 2021 May 17 ] |
Hi, I encountered this behavior today when my automatic zabbix upgraded kicked in for 5.4.x. All my zabbix-grafana integrated dashboards are broken now. Please share any documentation for people who care. There are now many many people who will come and complain. You Zabbix should consider Grafana as huge market here. I'm quite disappointed here.
Did I read it right?you released (docker hubs now having latest at 5.4.0) undocumented feature which removes backward's compatibility ?! shame. |
Comment by Stefan Sabolowitsch [ 2021 May 17 ] |
@Alexei Vladishev PS: Thanks for zabbix which we have been using since version 1.7. |
Comment by Alexei Vladishev [ 2021 May 17 ] |
gorciuch , StefanSa As far as I am aware all API changes are documented and the release notes contains a link to the API changes. Probably we should wait developers of 3rd party apps to catch up. What else we could do? |
Comment by Stefan Sabolowitsch [ 2021 May 18 ] |
@Alexei Vladishev In the case of such important changes, it would be helpful to point them out "more clearly", as the example of Elasticsearch shows. |
Comment by Alexei Vladishev [ 2021 May 18 ] |
StefanSa, I agree, we should better emphasise breaking changes. It should be part of release notes and probably also what's new section on our web site. |
Comment by Glebs Ivanovskis [ 2021 May 18 ] |
|
Comment by Miks Kronkalns [ 2021 May 19 ] |
Updated API documentation: API objects updated: API methods updated:
Other changes: |
Comment by dimir [ 2021 May 19 ] |
Grafana users, looks like you're saved: https://mobile.twitter.com/alexanderzobnin/status/1394669353061265409?s=19 |
Comment by Miks Kronkalns [ 2021 May 25 ] |
Updated general documentation:
|