TheNetworkGuy / netbox-zabbix-sync

Python script to synchronise Netbox devices to Zabbix.
MIT License
123 stars 29 forks source link

More hostgroup variables #47

Closed TheNetworkGuy closed 7 months ago

TheNetworkGuy commented 7 months ago

Netbox has more fields which could be useful with the generation of hostgroups. Adding these variables would allow users to have a finer degree of customization in their environments.

I would also propose to move this functionallity to the config file instead of calling it as a variable when running the script.

The following variables have been tested and can be implemented:

These variables come on top of the existing variables:

TheNetworkGuy commented 7 months ago

Started work on this in new branch. New variable functionallity is done. Next step is moving functionallity from the -l flag to the config.py file.

TheNetworkGuy commented 7 months ago

This issue is done in the dev branch. However i want to perform all of the work listed in #48 and mark all hte changes in the first 1.0 release since upgrading to this release requires less arguments and more use of the config.py file.

TheNetworkGuy commented 7 months ago

Implemented.

q1x commented 7 months ago

When using nested 'site groups', only the lowest member of the tree is used in the sync, would be cool if we could add the full 'site groups' hierarchy as nested Zabbix host groups.

Also, I have a need to use 'Facility' in the group tree.