TheNetworkGuy / netbox-zabbix-sync

Python script to synchronise Netbox devices to Zabbix.
MIT License
127 stars 30 forks source link

Nested hostgroup parents #73

Closed TheNetworkGuy closed 3 months ago

TheNetworkGuy commented 3 months ago

Extend the hostgroup builder functionallity to include creating parent hostgroups. For instance:

Currently when creating hostgroups a common example would be "DatacenterA/Cisco/Switch". However the 2 parent groups "DatacenterA/Cisco" and "DatacenterA" will not be created.

Since the whole point of using nested hostgroups is having nested permissions and applying permissions to the top parent and cascade all the information from there, it makes sense to create top level hostgroups.

TheNetworkGuy commented 3 months ago

Another one bites the dust.