unifi_miner icon indicating copy to clipboard operation
unifi_miner copied to clipboard

Unifi_Miner with Zabbix 5.2 version

Open armandi10 opened this issue 2 years ago • 3 comments

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

armandi10 avatar Oct 03 '21 14:10 armandi10

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 ...

zbx-sadman avatar Oct 05 '21 13:10 zbx-sadman

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)

armandi10 avatar Oct 05 '21 14:10 armandi10

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.

zbx-sadman avatar Oct 06 '21 05:10 zbx-sadman