TheNetworkGuy / netbox-zabbix-sync

Python script to synchronise Netbox devices to Zabbix.
MIT License
109 stars 27 forks source link

add Config Template #39

Closed patricklind closed 6 months ago

patricklind commented 1 year ago

hi,

can you add if "Local Config Context Data" in use then use "Config Template"

TheNetworkGuy commented 1 year ago

This could be implemented quite easily! I'll take a look at it this week :)

TheNetworkGuy commented 6 months ago

"This week" is somewhat loosely in my world.

Just to be more specific: you want a way to primairily look at the custom field for all templates. However should a value be specified on the local config of the device itself then it should overwrite the custom field value? :) If you could confirm this then that would be great since i'm working on this feature atm.

TheNetworkGuy commented 6 months ago

Just pushed this functionallity to the project and mentioned the functionallity over here: https://github.com/TheNetworkGuy/netbox-zabbix-sync?tab=readme-ov-file#template-source. Take a look at the new templates_config_context_overrule variable :)