TheNetworkGuy / netbox-zabbix-sync

Python script to synchronise Netbox devices to Zabbix.
MIT License
120 stars 28 forks source link

Any change in templates for a device results in a Zabbix API error #72

Closed q1x closed 1 month ago

q1x commented 1 month ago

When trying to update anything template related on a already existing host, the following error occurs and the templates are no longer synced for the Zabbix host.

2024-07-24 13:00:50,787 - Netbox-Zabbix-sync - ERROR - Device **redacted**: Unable to update. Zabbix returned the following error: Invalid params. Invalid parameter "/1/templates/1": unexpected parameter "name"..

When I correct the template problem by hand in Zabbix, no further issues are reported.

q1x commented 1 month ago

Zabbix 7.0.1

TheNetworkGuy commented 1 month ago

Reproducable, started working on debugging.