Actual release is 1.0.0. Installable package is not exist, DYI-ers must explore /etc , /usr/local and /src dirs and get that what they need:
- usr/local/sbin/unifi_proxy.pl - UniFi Proxy executable file;
- etc/unifi_proxy.conf - UniFi Proxy config file;
- etc/init.d/unifi_proxy - system start-up service script;
- src/unifi_proxy_get.c - unifi_proxy_get utility source code;
- etc/zabbix/zbx_unifi.conf - plugged to zabbix_agentd.conf config file;
- src/zbx_unifi/unifi.c - unifi.so Zabbix loadable module source code;
- usr/local/lib/unifi.conf - config file for unifi.so.
Command-line version of UniFi Proxy is UniFi Miner
It is a TCP server written in Perl, which helps deliver to the monitoring system (Zabbix or other, that used shell's utility to taken data - like Cacti) operational data - metrics and settings obtained from the UniFi controller via API, provided by Ubiquiti. Zabbix's Low-level Discovery (LLD) protocol are supported.
If you have a question about Proxy, please, refer to [UniFi Proxy Russian Guide] (https://github.com/zbx-sadman/unifi_proxy/wiki/UniFi-Proxy-Guide-in-Russian) or [UniFi Proxy English Guide] (https://github.com/zbx-sadman/unifi_proxy/wiki/UniFi-Proxy-Guide-in-English).
If u have an problem, you can search the existing closed or open issues.
Templates for Zabbix here
Response time compare table (6 UAPs installation):
Miner 1.0.0 (w/o PPerl) | Miner 1.0.0 (w/PPerl) | Proxy (netcat) | Proxy (unifi_proxy_get) | Proxy (unifi.so) |
---|---|---|---|---|
~0m0.056s | ~0m0.023s | ~0m0.005s | ~0m0.003s | ~0m0.006s |
Note: time in measurement "Proxy (unifi.so)" include start & runtime overhead of zabbix_agentd/zabbix_get. Streaming speed of queries processed by server was ~1000resp/sec (using special written utility)
UniFi Miner - Command-line version of UniFi Proxy
Zabbuino - Zabbix agent for Arduino