zbx-sadman / unifi_proxy

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

Zabbix Template: Special characters are not allowed in the parameters. #23

Closed eroji closed 6 years ago

eroji commented 6 years ago

After setting up unifi_proxy and configuring Zabbix with the passive check templates, a good amount of the items are showing up as "Not Supported" with reason as "Special characters "\, ', ", `, *, ?, [, ], {, }, ~, $, !, &, ;, (, ), <, >, |, #, @, 0x0a" are not allowed in the parameters." I am not sure clear on why this is happening. It is able to retrieve the other items just fine. The conf is set to use v5 and the Controller is running on 5.6.29. Items that are not working for instance:

Automatic upgrade firmware UAP "Upstairs" clients with excellent signal UAP "Upstairs" clients with low signal

eroji commented 6 years ago

Looks like this is an issue with the zabbix-agent limiting the character set allowed for UserParameters. Override was available in the conf and now it's working.

tiagoIW commented 5 years ago

@eroji I have the same problem with zabbix agent 3.4 What changes did you make in zabbix conf to adjust ?

zbx-sadman commented 5 years ago

Just add UnsafeUserParameters=1 to the agent's config and restart service.