mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-07-14 01:41:25 -06:00
This commit is contained in:
parent
e269b28381
commit
75d822f62a
@ -213,7 +213,7 @@ class NetworkDevice():
|
|||||||
logger.warning(e)
|
logger.warning(e)
|
||||||
raise SyncInventoryError(e)
|
raise SyncInventoryError(e)
|
||||||
|
|
||||||
# Gather device Zabbix templates
|
# Gather device Zabbix template
|
||||||
device_type_cf = self.nb.device_type.custom_fields
|
device_type_cf = self.nb.device_type.custom_fields
|
||||||
if(template_cf in device_type_cf):
|
if(template_cf in device_type_cf):
|
||||||
self.template_name = device_type_cf[template_cf]
|
self.template_name = device_type_cf[template_cf]
|
||||||
|
Loading…
Reference in New Issue
Block a user