Repository navigation
1.0.3
[1.0.3] - Major update
- Updated the documentation
New features
- Implemented a new API endpoint to trigger the synchronization of a device/vm/vdc to Zabbix
Initiating a synchronization is done by POSTing against this endpoint, with the
obj_typeandobj_idas data. Theobj_idis the ID of theobj_typethat should be synchronized.For example:
curl -X POST -H "Authorization: Bearer <netbox token>" -H "Content-Type: application/json" -H "Accept: application/json; indent=4" http://<netbox>>/api/plugins/nbxsync/zabbixsync/ --data '{"obj_type": "device", "obj_id": 1}'
Possible obj_types:device,virtualmachine,virtualdevicecontext - Implemented logic to handle the addition of new default Zabbix Host interfaces / changes of Zabbix Host Interfaces (#57)
- Added support for the 'Max Repetition' field on SNMP Host Interfaces (customer request)
- Implemented the 'sync_enabled' field on Zabbix Server, Zabbix Proxy, Zabbix Proxy Groups and Zabbix Server Assignments control if/what is synchronized to Zabbix (#66)
- Implemented the 'skip_version_check' field on Zabbix Server to disable checking on supported Zabbix versions (#74)
- Rewrite the handling of ZabbixConfigurationGroups to work asynchronous and not synchronous; this avoids locking the UI for users when a large number of devices are assigned to a ZabbixConfigurationGroup and a update is applied
- Added links to the Zabbix frontend on the Zabbix Ops view, so operators can easily jump between NetBox and Zabbix for troubleshooting (#71)
Bug fixes
- Added the field 'snmpv3_authentication_protocol' to the API for Zabbix Host Interfaces (#61)
- Updated the field label on Zabbix Proxy Groups (not 'Vendor' but 'Failover delay')
- Fixed logic for Active Zabbix Proxies with a Zabbix Proxy Group set, to include the local_address field (#59)
- Fixed issue where templates with items of the type 'script' depended on a SNMP Host interface; this is wrong - it should be None. (#56)
- Fixed issue (again!) where the 'display string' of an object was used, and not the 'name' field. This results in unexpected behaviour when asset tags are configured on devices ([#47] #63)
- Fixed typo in Netbox permissions (#62)
- Implemented logic to first synchronize host interfaces based in the usage (default/non default) to avoid errors (#57)
- Adjusted the 'can_sync' filter so host synchronization only can be triggered if a default host interface exists (#57)
- Fixed issue where the 'snmp_macro' macro was pushed multiple times when the same HostInterface Type (SNMP) was configured, resulting in errors (#57)
- Fixed issue that prevented synchronization of hosts to Zabbix when more than one Host Group was assigned in Netbox (#68)