unifi_miner
unifi_miner copied to clipboard
Unifi_Miner with Zabbix 5.2 version
Hello team,
I want to thank for the good job you have done regarding unifi miner. I have installed it on Unifi Controller on Debian 11 and it is working as I have data from unifi controller using ./unifi_miner.pl and zabbix-get messages. My problem is that I can't have data on zabbix. I have imported the Unifi Controller v5 passive chechks template, but I have no data. This template is used foe zabbix 2.4 version, how can we modify it working for version 5.2 ? Do you have done integrations of unifi miner using zabbix 5.2 ? Anything will be very helpful for me.
Regards
Hello.
If you can get data with CLI from the Zabbix server host, then Zabbix daemon should work with "passive checks" template.
Otherwise you must take look on the zabbix server log and make sure that daemon use proper agent's IP, item key and so.
I haven't special integrations for zabbix 5.2, because there no any Zabbix specific works - just external script used and standart data processing as in the Zabbix 1.x, 2.x ,3.x, 4.x ...
Hello,
First, let me say thank you for responding so quickly. When I say I'm getting data from Unifi I mean using ./unifi_miner.pl script and zabbix-get command on unifi controller. How can I check from cli on zabbic server if I'm getting data ? (unifi and zabbix have Public IPs and are located on separate machines, unifi_miner script is configured on unifi host and tha zabbix agent too)
Just use zabbix-get command with the same keys on Zabbix server and point it to Unifi controller IP. The output of zabbix-get must be the same in both cases.