Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unifi_Miner with Zabbix 5.2 version #21

Open
armandi10 opened this issue Oct 3, 2021 · 3 comments
Open

Unifi_Miner with Zabbix 5.2 version #21

armandi10 opened this issue Oct 3, 2021 · 3 comments

Comments

@armandi10
Copy link

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

@zbx-sadman
Copy link
Owner

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

@armandi10
Copy link
Author

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)

@zbx-sadman
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants