[ZBXNEXT-8746] Remove template name prefix from items, triggers, graphs Created: 2023 Oct 10 Updated: 2024 Dec 11 Resolved: 2024 May 15 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Templates (T) |
Affects Version/s: | 6.4.7 |
Fix Version/s: | 7.0.0rc1, 7.0 (plan) |
Type: | Change Request | Priority: | Critical |
Reporter: | Nathan Liefting | Assignee: | Alexander Bakaldin |
Resolution: | Fixed | Votes: | 12 |
Labels: | tags, templates, usability | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
||||||||||||||||||||||||
Issue Links: |
|
||||||||||||||||||||||||
Epic Link: | Zabbix 7.0 | ||||||||||||||||||||||||
Team: | |||||||||||||||||||||||||
Sprint: | S24-W20/21 | ||||||||||||||||||||||||
Story Points: | 1 |
Description |
Hi Devs, Recently Zabbix switched all out-of-the-box templates to include a prefix on items, triggers and graphs. The result is that out-of-the-box templates dropped in quality and usability severely. Example: Prefix "Linux:"
Some of the results:
The change doesn't work, it makes Zabbix a lot less usable. Please revert it. |
Comments |
Comment by Nathan Liefting [ 2023 Oct 10 ] |
Please also see: #ZBXNEXT-8029 for more suggestions about good naming of items. |
Comment by patrik uytterhoeven [ 2023 Oct 10 ] |
I agree here but then we also need a fix for tags in latest data bc now a filter of lets say 500 will result in items never being shown as maybe there are more then 500 items and there is no visible indication for this even better some tags will probably never show if we filter first on the host group and have selected too many hosts for the end result |
Comment by Off by One [ 2023 Oct 10 ] |
Agreed as well. An item name should describe what the value represents, not where/how the value was fetched (you can check the item type for that). |
Comment by Evgeny Yurchenko [ 2023 Oct 10 ] |
Agree having this type of prefix doesn’t make a lot of sense. |
Comment by Brian van Baekel [ 2023 Oct 10 ] |
https://www.reddit.com/r/zabbix/comments/174ezc0/template_entities_prefixed_make_so_much_unusable/ https://www.reddit.com/r/zabbix/comments/15xb9kg/windows_linux_template_segregation/ It's an frustrating change, with no benefits for the users, as far as i can see. |
Comment by Brian van Baekel [ 2023 Nov 08 ] |
Fixed it: https://github.com/OpensourceICTSolutions/zabbix-official-templates/tree/main
|
Comment by Alexei Vladishev [ 2023 Dec 12 ] |
We are planning to introduce better naming in 7.0, stay tuned! I totally agree that the existing naming convention (as is in 7.0 alphas, for example) has excessive redundancy and hard to read. |
Comment by Brian van Baekel [ 2023 Dec 12 ] |
Highly appreciated alexei, thank you! |
Comment by Brian van Baekel [ 2024 Apr 22 ] |
Seeing this ticket getting assigned made my heart jump a little, but within a few hours, it became unassigned again ;'( Will this be fixed in 7.0 or are we going to suffer for another full LTS? |
Comment by Alexei Vladishev [ 2024 Apr 22 ] |
brian.baekel, There are many good reasons to have it implemented and some good reasons to leave it as it is. We are trying to find a middle-ground currently. |
Comment by Marco Hofmann [ 2024 Apr 23 ] |
I just want to add my voice, that I agree with Brian, that these prefixes are not helpful. |
Comment by Alexei Vladishev [ 2024 Apr 23 ] |
One of the cases when these prefixes may be useful is when we have a couple of items having the same name but coming from different templates. Like "Nginx: Memory usage" and "MySQL: Memory usage". It is hard to figure out what each item is all about without a prefix. |
Comment by Alexei Vladishev [ 2024 Apr 26 ] |
I have good news! We are removing prefixes in 7.0, coming soon! |
Comment by Marco Hofmann [ 2024 Apr 30 ] |
YEAH! We appreciate this decision very much! Thank you for listening! |
Comment by Alexander Bakaldin [ 2024 May 14 ] |
Available in:
|
Comment by Denis Pavlov [ 2024 Jun 10 ] |
and how should I tell which service is down now? |
Comment by Marco Hofmann [ 2024 Jun 10 ] |
From which template is the screenshot? |
Comment by Denis Pavlov [ 2024 Jun 10 ] |
they're all the same now |
Comment by Denis Pavlov [ 2024 Jun 10 ] |
Emails are also useless now Subject: Problem: Service is down Problem started at 15:13:20 on 2024.06.08 Problem name: Service is down Host: mon-test.****** Severity: High Operational data: Down (0), 18 Original problem ID: 59 |
Comment by Nathan Liefting [ 2024 Jun 10 ] |
To clarify above comment, someone forget to add the service names back to the "Service is down" triggers 🤓 Please add them back! 😇 |
Comment by Denis Pavlov [ 2024 Jun 12 ] |
Will the someone fix everything? |
Comment by Denis Pavlov [ 2024 Jul 11 ] |
any workaround? any fix? is someone aware it was a bad idea removing prefixes? |
Comment by Martins Orinskis [ 2024 Jul 18 ] |
Trigger prefixes will be addressed in ZBX-24866 |
Comment by Flavio [ 2024 Jul 19 ] |
I believe the decision to remove the prefix was hasty and did not consider its importance in service identification, such as for apache, php-fpm, etc. This change has resulted in all triggers appearing identical. Regarding tags, they are primarily used to facilitate search, filtering, and indexing within Zabbix. For example, when filtering Apache triggers, tags are utilized rather than the trigger name. However, for clarity and visual identification and notification, the trigger must retain the prefix. Worrying about monitor resolution or trigger quantity is a mistake. This mistake was mentioned before being removed, but they still decided to remove it. |
Comment by Decio Vaz [ 2024 Jul 19 ] |
I think the same, these prefixes are VERY important and i glad these rollback on 7.2 version. |
Comment by Pavel Mezhuev [ 2024 Sep 23 ] |
The Zabbix interface has become as uninformative as possible. Now we have many items and triggers with the same name, but affecting different services and it is no longer possible to understand where the problem is just by looking at the dashboard. |
Comment by Martins Orinskis [ 2024 Oct 08 ] |
You can use "Show details" and get more informative name. |
Comment by Robin Roevens [ 2024 Oct 08 ] |
This change should have never happened without template- and host-level tags also being shown, searchable and usable in all views and widgets. Currently the Latest Data overview turned quite useless as pavmez pointed out: You no longer see what application an item belongs to and you get a lot of duplicate item names representing different data. You also can no longer filter for a specific application as by default no item-level tag is indicating the application (this is only indicated by the template-level 'target' tag, but that is not available on this view/level) This change also breaks Data sets based on Item patterns in dashboard graphs, pie''s, etc. With the example Pavel gave: How do you now get the graph of only the number of php-fpm processes ? This is no longer possible as there are 5 identically named items in the example, hence even when the full item name is specified as pattern, you get a graph with 5 unrelated items. Graphs also don't support filtering on tags, so even if there where item-level tags indicating the service, you still would not be able to create this graph using Item patterns. (Yes this can be solved with a data set based on an item list, but there are other cases where this is not feasible and you lose the power of the Item patterns) The prefixes removed from the trigger names is also disastrous as you no longer see in alert notifications or on the Problems view which service or application is now down, or which application was restarted, or which process now uses too much cpu etc.. notifications are now useless too due to the missing context. You now always have to go look for details or even go into item/trigger configuration to check what the trigger is actually about.(which is in turn not available to read-only users) I understand the initial problem with the OS-prefixes "Linux:" and "Windows:", they indeed caused some trouble, but to solve that I think it would have been better to prefix those items with "OS:" like: And maybe there are some other templates that also could use a more generic item-prefix to allow for easier use in widgets and filtering. But certainly not any application specific template. At least not until the template-level tags are visible and usable everywhere (item-level and trigger-level, ..) So I do concur that the prefix-approach is not the ideal approach but it was the best we had with current Zabbix limitations on tags. Alternatively and in my opinion even more clear would be that the Latest Data and Problems view also have a column showing the originating template-name of the items; that would then also need a macro containing the template name for use in alert notifications as well as search/filter abilities on it in widgets and views. This would allow for people to sort on that column or the name column depending on the current needs or preferences; to filter on application, etc..
Now it is the other way around, metrics from the same application are no longer grouped together, but spread across the latest data view. I find it generally much more intuitive and clear that application metrics of the same application are grouped together. We lost that before when the 'Application' was deprecated, then it was sort of re-introduced with the prefixes, but now it is gone again. The only way the current templates are now usable is by defining a separate 'host' in Zabbix for each template you want to assign. This way the hostname can provide the now missing information. But that is a completely different approach to how, I assume, most people have organized their monitoring; But if that is the now recommended way, then that should be made clear in the documentation.. |
Comment by Nicola Mauri [ 2024 Oct 16 ] |
I totally agree with robinr considerations: the effect of this change is a dramatic loss of usability and comprehensibility. For example, even a Zabbix experienced admin will not be able to properly interpret the following screen: These items belongs to the "PHP-FPM by Zabbix Agent" template, but there is no mention in either item names, item descriptions or item tags. Users can also be fooled into thinking that these items represent the number of Linux processes. The same happens with trigger names like "Service is down" or "Process is not running": how can the user know which service is it? [Edit: these examples were already mentioned in previous comments. Sorry for duplication. Anyway: a good tradeoff must be found to solve this issue. Current templates implementation is frustrating] |
Comment by Martins Orinskis [ 2024 Oct 16 ] |
Thank you robinr for your feedback with detailed explanations. We appreciate your input very much. Trigger prefixes will be reverted back. Fix is coming soon: ZBX-24866 We are working on these topics to resolve them in upcoming releases:
|
Comment by Martins Orinskis [ 2024 Nov 28 ] |
Trigger prefixes are reverted back (ZBX-24866) starting from
|