zbx-sadman / unifi_proxy

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

No data from controller #13

Closed CsabiDuke closed 6 years ago

CsabiDuke commented 6 years ago

Hello,

I made the unifi.so version of installation, but i have no datas from Unifi Controller: # zabbix_agentd -t "unifi.proxy[discovery,wlan]" # unifi.proxy[discovery,wlan] [s|{"data":[]}]

With the unifi_proxy_get script I have the same: # ./unifi_proxy_get 127.0.0.1 8448 "discovery,uap" # {"data":[]}

Unifi Controller Version: 5.5.20 Zabbix Server Version: 3.2.6 Zabbix Agent Version: 3.2.7

What can I do? Am I do something wrong?

Thanking in advance, CsabiDuke

CsabiDuke commented 6 years ago

OMG! I made a mistake, I changed the 8443 port to 443, for the default https port. I modified the port in the "unifi_proxy.conf" from 8443 to 443, and it is working now! UniFiLocation = https://localhost:443

Thank you for your work! CsabiDuke

zbx-sadman commented 6 years ago

So good when issue was solved simply ;)