patricegautier / unifiZabbix

Zabbix templates to monitor pretty much all Unifi devices
179 stars 35 forks source link

Template Import Failed - Invalid parameter #4

Closed captainx720 closed 3 years ago

captainx720 commented 3 years ago

Receiving following error when importing zabbix template. Running Zabbix 5.2.2.

Invalid parameter "/interfaceid": cannot be empty.

patricegautier commented 3 years ago

any more info in /var/log/zabbix_server.log?

CompPhy commented 3 years ago

I had a similar error when trying to import the most recent template update into Zabbix 5.0. I did a little conversion on the params fields to make them 5.0 compatible, but then got this same interfaceid error.

Turns out, you need to remove any old version of the templates as he indicates in the README. I had the prior version imported, which didn't work right anyway. Once I removed the old version of the templates, and re-imported the new version, the interfaceid message went away.

I just checked on one of my Unifi AP units and latest data is refreshing all the data points just fine.

patricegautier commented 3 years ago

Ok good to know – I will add that part to the Readme.

patricegautier commented 3 years ago

@captainx720 can you confirm this fixes your issue?

captainx720 commented 3 years ago

Yes, That was the problem. Thanks!