[ZBXNEXT-5026] Assigning templates to hosts/groups from the template editor and assign host from host groups editor Created: 2019 Feb 11 Updated: 2020 Jan 13 |
|
Status: | Open |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Frontend (F) |
Affects Version/s: | 4.0.4 |
Fix Version/s: | None |
Type: | Change Request | Priority: | Major |
Reporter: | Edgar Reichler | Assignee: | Valdis Murzins |
Resolution: | Unresolved | Votes: | 23 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | hostgroups.PNG remove_host_group.png templates.PNG | ||||||||
Issue Links: |
|
Description |
To manage hosts and templates it was very very useful in pre 4.0 versions: This functions in the frontend are very important because assigning of hosts/groups/templates is very easy, fast and save. I'm working with many hosts/groups and templates and for me it is a no go for upgrading to version 4.x for production. Unfortunately you closed the issue |
Comments |
Comment by Tony den Haan [ 2019 Jun 20 ] |
For me this is a showstopper. Maintaining takes many times longer without these. |
Comment by Valdis Murzins [ 2019 Jun 20 ] |
Functionality to add multiple hosts to host group (also applies to templates) is still present in form of mass update of hosts (in scope of Also I should add that having such list of all hosts in Host group page on huge installation will introduce performance issues (it was one, if not the main, reason why this selection was removed from there in first place). You are saying, maintaining hosts and/or templates takes longer. But I don't see, why is should be so, if you are using mass update. Can you, please, explain your use cases? |
Comment by Olli Ihamäki [ 2019 Jun 20 ] |
Yes, you can add new template to hosts with mass update, but you can't remove hosts from template with mass update. This used to be trivial, click, scroll down, shift-click and click > arrow. |
Comment by Valdis Murzins [ 2019 Jun 20 ] |
It is possible to remove one or multiple host groups from selected hosts via mass update. |
Comment by Ingus Vilnis [ 2019 Jun 20 ] |
Olli, I just hope you know that by that "removal" sequence you just unlinked the template from the host, leaving the actual items "orphaned" on the host level. It was a cool feature if you know it but at the same time could leave a huge mess on the host level. Valdi, Mass update can't nicely unlink (and clear) a single template. And one more use case - you could create a new template and immediately add it (yet empty with no items) to selected hosts. Now you have to go through all the mass update hassle to do it. Additionally you can't even see what hosts are linked to a template from Configuration -> Templates -> Opened template view. |
Comment by richlv [ 2019 Jun 20 ] |
Valdi, thank you for mentioning this functionality - it is indeed working as expected. For example, a very simple and fairly common scenario: 1. Take a look at some host. The usual workaround would be to copy the template name, go to Configuration -> Templates, expand the filter, paste the template name, click Filter. The usability regression there is also mind-boggling. Every extra click is a big burden for repeat operations, and here we have not only many extra clicks, but also the need to memorise this sequence - infrequent Zabbix users will give up instead (empirically tested). Of course, fixing the interlinking would not help with the template downstream entity listing being pretty much unusable beyond a dozen of entries. Update: |
Comment by Olli Ihamäki [ 2019 Jun 20 ] |
Ingus, I was not aware of that. That is/was crazy bad design! However, problem persists: there is no easy way to unlink "and clear" template from chosen subset of hosts. I think that template added to host ++group does not reflect to hosts under same host group, right? I tried it with 4.2.3:
Item added on step 2 did not appear on host in host group used on step 3 So workaround/workflow Valdis suggested does not work.
|
Comment by Valdis Murzins [ 2019 Jun 20 ] |
Sorry olli, I misread your second to last message, now I see it: As for ingus.vilnis comment, there is an option to clear the hosts, when mass removing templates: Clear when unlinking. Or you was meaning something else? I see the usability issue you are mentioning, richlv. I am not really in place to comment it, but I can say: "Thank you for explaining it". It is kind of in the comments, but I will write it more explicitly:
But, as richlv mentioned, there is a usability issue here, as it requires more steps to do, as you would normally want to. |
Comment by Valdis Murzins [ 2019 Jun 20 ] |
The workaround I suggested was to add/remove host groups from hosts/templates. The problem with templates I explained in my previous comment. You are right olli, the templates, added to same host group as hosts, will not be linked to these hosts. Sorry, my message confused you. |
Comment by Olli Ihamäki [ 2019 Jun 20 ] |
Yes, I know that you replace templates. However, that is not sufficient. For example, you have:
And so on, tens, hundreds, thousands of hosts, and you need unlink and clear "Template tape backup" from these hosts. Can't replace since they have different templates.
|
Comment by Tony den Haan [ 2019 Jun 20 ] |
Richlv i'd say not even a link to a filtered version, just add filter there and then, perhaps default to whatever seems sane. |
Comment by bunkzilla [ 2019 Oct 03 ] |
please bring this functionality back. here is how I often use this. I have a group that is called "Paging" if I edit this hostgroup, I can see which hosts which are not in the hostgroup using the selectors. By selecting different hostgroups that I know should have hosts in the hostgroup, also to be able to remove them. Now I have no idea how to accomplish this. I use this mostly with hostgroups and not with templates because of the issues about unlinking.
|
Comment by Jack Valko [ 2020 Jan 13 ] |
Many of us manage ad-hoc maintenance windows with a group called "Maintenance" and require the ability to manage a hostgroup (not a host). Having a UI that allows us to manage the group it crucial. Here's a good use case: I get notified of a short notice outage in a remote site. I have over 100 hosts groups there. Before 4.0, I could add all of these hosts quickly to a Maintenance group. Now that operation is: This workflow is also much more difficult to explain than the old hostgroup two window UI. Since our upgrade to 4.4 Zabbix has become less useful because we can't quickly disable alerts and escalations. |