zbx-sadman / unifi_proxy

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

Zabbix agent unsafe user parameters #1

Closed tkald closed 8 years ago

tkald commented 8 years ago

Document that in order get most of the data from unifi_proxy, zabbix_agentd.conf needs to have UnsafeUserParameters=1 Many of the items otherwise become unsupported as many parameters are passed with quotes symbol: e.g. unifi.proxy[get,usergroup,default,"[_id=564c517ce4b07de37a55ff18].qos_rate_max_down"]

zbx-sadman commented 8 years ago

Tanx for using UniFi Proxy, tkald.

Yes, Zabbix's directive UnsafeUserParameters must be set to 1 for properly handling complex requests, which contain filters (with square brackets, logical and condition signs). But for simple using (taking values of _numsta or state keys) it's unnecessary.

It's a Zabbix issue and resolved in Troubleshooting section of UniFi Miner guide, because Miner is forefather of Proxy. Both of utility use the same template, key format... I do not see any reason to duplicate the manual.

But i going to add link to Miner's Guide to Proxy's readme.

Thank you for your comment.