zbx-sadman / unifi_proxy

Fast client-server version of UniFi Miner
45 stars 21 forks source link

Import template error for UAP templates #46

Open rrosson opened 2 years ago

rrosson commented 2 years ago

Receive the following error when trying to import zbx_v2_4_passive_Template_UBNT_UniFi_Controller_v_5_UAP.xml or its active counterpart to my zabbix 5.4 installation.

Cannot find value map "Service state" used for item prototype "[{#SITEDESC}] UAP "{#NAME}" ICMP ping" of discovery rule "UniFi Access Points discovery" on "Template UBNT UAP - UniFi Controller v5 - active checks".
zbx-sadman commented 2 years ago

Hello

I have no plan to install v5.4 at this time. But i've tested template import on Zabbix v5.0 LTS just now. All is OK.

init098 commented 2 years ago

To import the template you must replace from line 978 to 980 for <valuemap/>