Monitoring Rules not all folders and hosts are shown
TheMue11er opened this issue · 0 comments
Expected Behavior
Under Monitoring Rules when viewing the Hosts tab the structure of the vCenter with the folder structure and the nested datacenters should be visualized.
It should look similar to what I see when I go to the Hosts section and choose there the treeview.
Current Behavior
The problem is similar to issue #181
Under Monitoring Rules in the Hosts tab the tree should be the same as in our vCenter.
We have a structure in the vCenter with most datacenters nested inside folders and some datacenters not nested inside folders.
I only see the hosts of the datacenters that are not nested inside folders, every host that belongs to a datacenter that is contained in a folder is not shown in the tree.
Also the rules are not applied to the hosts that are is not visible in the tree.
I played around with the MonitoringRulesTree.php but was not able to get the whole structure from our vCenter.
I got all the hosts but still some folder levels are missing so the structure is messed up.
Also the rules get not applied to all the hosts. I guess there is somewhere another section that needs to be modified.
Possible Solution
Steps to Reproduce (for bugs)
Having a vCenter with a folder structure where the datacenters are nested in.
Your Environment
- VMware vCenter®/ESXi™-Version: 7.0u3
- Version/GIT-Hash of this module: 1.7.0
- Icinga Web 2 version: 2.11.4
- Operating System and version: Rocky Linux 8.8
- Webserver, PHP versions: Apache/2.4.37 (rocky), PHP7.2.24