I’ve assigned each host a label like vlan:40 or vlan:41. Is there a way to create a view that groups hosts by this label? The goal is to have a view that shows the hosts of each VLAN.
I know one solution is to create host groups from labels, but there are a lot of VLANs, and creating so many host groups seems cumbersome.
Did you think about using hostgroups for this? You create a hostgroup for each VLAN and usee the rule “Host to hostgroups” with the content of the label.
To automate this, you can use the API.
I was thinking about host groups, but the problem is that I have an infrastructure with more than 100 VLANs, and having 100 host groups would look pretty ugly. If there were an alternative, that would be fantastic. If not, I’ll create the host groups as you suggest.