MassimilianoPasquini97 / zbx_unifi_network

Zabbix Template for Unifi Network
MIT License
61 stars 10 forks source link

Mrl4x adding zabbix 6.0 support #25

Closed mrl4x closed 4 months ago

mrl4x commented 4 months ago

I use this template with my Zabbix 6.0 environment. I had to make a few adjustments to get it working. Here's the export

MassimilianoPasquini97 commented 4 months ago

Hi @mrl4x, I will start thanking you for you work. For ease up the review can you explain the adjustments that you made for bring 6.0 support. Thanks you again.

mrl4x commented 4 months ago

Hi @MassimilianoPasquini97, No problem, It runs pretty good!. I made 3 changes:

The three changes are version to 6.0 and from template_groups to just groups. Furthermore, i received an import error on the uuid, so i generated new ones ( with uuidgen | sed -e 's/-//g') and replaced the one where I got the error.

zabbix_export: version: '6.0' date: '2024-07-22T10:13:56Z' groups:

VS

zabbix_export: version: '6.2' template_groups:

  uuid: 36bff6c29af64692839d077febfc7079
  name: 'Templates/Network devices'

host_groups:

  uuid: c066ade8616c43d9acfac81bd1ef6a63
  name: Network
MassimilianoPasquini97 commented 4 months ago

I will close this pull request, your template conversion is not complete and it's done using the latest template from this repo. Your export file contain only 1927 line instead of 5671 of the other one. If you want to add 6.0 support modify directly the yaml file instead of doing and export from you Zabbix Server and then try to import and test it.