Git Product home page Git Product logo

unifi_proxy's People

Contributors

chaz6 avatar zbx-sadman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

unifi_proxy's Issues

init script not working

Killall is not supplied by default in Jessie debian anymore, apt-get install psmisc is needed.

Trigger $FW_UAP_LATEST_VER}

After setting up the monitoring, this trigger worked, because the firmware version was obsolete. However, after updating the firmware at all the access point - it also hangs in the list of problems.

"Number of all UAPs on site" item is always zero

Zabbix agent/server 3.4.7
unifi_proxy 1.3.5
Template "Template UBNT UniFi Controller v5 - active checks"
Unifi server 5.6.11

Have this mostly working - can see throughput graphs etc in Zabbix.

However, the item "Template UBNT UniFi Controller v5 - active checks: [{#DESC}] Number of all UAPs on site | unifi.proxy[get,site,{#NAME},num_ap,,0]" is somehow always zero. Calculated items that subtract something from num_ap then end up disabled because the answer goes negative.

I have tested on the Unifi server with:

unifi_proxy_get 127.0.0.1 8448 get,site,sitename,num_ap,,0

and that always returns zero, regardless of how many APs are actually configured in that site.

Zabbix agent 3.2.10 gives: Got signal [signal:11(SIGSEGV),reason:1,refaddr:(nil)]. Crashing ...

We have your current unifi proxy running for many months with the Zabbix Agent 3.2.7. But today we updated the Zabbix Agent via their repository on an Oracle Linux 7.3 server and it gave us the error:

Got signal [signal:11(SIGSEGV),reason:1,refaddr:(nil)]. Crashing ...

I rebuilt the unifi.so file from zabbix source 3.2.10 and deployed it, all based on your instructions, but the same error occurred. We had to return to using a 3.2.7 agent to restore functionality.

The agent produced additional output, which i have attached.
unifi_proxy_errors.txt

Zabbix 3.4 on Debian, Proxy/Agent/netcat setup

Followed Proxy Guide to configure UniFi proxy v1.3.5 with controller v5.5.20

UniFi Controller has ~50 sites with 1-3 APs each, and about 100 users at per site at peak

$ tune unifi_proxy.conf user/password/location
$ mv unifi_proxy.conf /etc/zabbix
$ mv unifi_proxy.pl /usr/local/sbin
$ mv unifi_proxy /etc/init.d/
$ update-rc.d unifi_proxy defaults
$ invoke-rc.d unifi_proxy start

After a while, after items started to get values, I noticed that sertain items eventually become unsupported.
The message in Info column displays:
Value "" of type "string" is not suitable for value type "Numeric (unsigned)"
or
Value "" of type "string" is not suitable for value type "Float .."
On next one or two iterations "last check" and value columns updated, then item "recovers".

This effect drifts over items randomly.

In zabbix agent UserParameter conf is

UserParameter=unifi.proxy[*],echo "$1,$2,$3,$4,$5,$6,$7" |nc 127.0.0.1 8448 -q 1

Testing from shell:
zabbix_get -s unifi -k unifi.proxy[get,sysinfo,default,version]
Gives emty string, and after a while it can yeld valid result.

So far no time dependency between queries, apperently cache issue, but can't figure out where. Please Help.

Issue starting Zabbix-Agent with unifi.so

I am running Zabbix-Server 3.2.1. I have compiled unifi using the 3.2.1 source code but when I load the zabbix-agent I get this error.

cannot load module "unifi.so": /usr/local/lib/zabbix/unifi.so: undefined symbol: zbx_tcp_recv_line

Any suggestions?

Update Readme

I got this error:

root@server:~# /etc/init.d/unifi_proxy start
UniFi Proxy TCP server: start daemon
Can't locate IO/Socket/IP.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/local/sbin/unifi_proxy.pl line 18.
BEGIN failed--compilation aborted at /usr/local/sbin/unifi_proxy.pl line 18.

So had to:

root@server:~# cpan IO::Socket::IP

Please update the Guide. Thanks :)

Cant import templates

Hi I have a little problem where I cant import any template besides USW one (active and passive). Other templates throw error at importing:

Capture

I cant find any info on this issue.

Zabbix 5.0, Ubuntu Server 20.0.4 (Focal)

Thanks for response.

Template for zabbix 2.0

Currently there is a template for Zabbix 2.4 is there also one that works for 2.0 or 2.2?

Not working with Unifi 5.6.10

Great tool, stopped working with Unifi 5.6.10.......

Could you please look into that? Would be great if it starts working again!!!

Thank you for the superb work!

unifi.so make failed on debian stretch

Hello,

I were able to compile the
gcc unifi_proxy_get.c -o unifi_proxy_get
but when I try to run make within the zabbix 3 2 module there is an include missing which is not available in your git repo...

`/var/unifi_proxy/src/modules/zbx_unifi_Zabbix_3_2# ll

insgesamt 24

-rwxr-xr-x 1 root root 184 Jan 10 16:13 load.sh

-rw-r--r-- 1 root root 75 Jan 10 14:11 Makefile

-rw-r--r-- 1 root root 13282 Jan 10 14:11 unifi.c

root@paier-dl-service:/var/unifi_proxy/src/modules/zbx_unifi_Zabbix_3_2# make

gcc -fPIC -shared -o unifi.so unifi.c -I ../../../include

unifi.c:20:20: fatal error: sysinc.h: Datei oder Verzeichnis nicht gefunden

#include "sysinc.h"

                ^

compilation terminated.

Makefile:1: die Regel für Ziel „unifi“ scheiterte

make: *** [unifi] Fehler 1
`

Many thank's in advance for your support!
Paul

cannot parse as a valid JSON object: unexpected end of string data

Добрый день,
При использовании Unifi-Proxy версии 1.3.8 (JsonOutput=pretty) у нас возникла проблема с интеграцией UniFi Virtual Access Points discovery.
В заббиксе это выражено сообщением "Invalid discovery rule value: cannot parse as a valid JSON object: unexpected end of string data".
При попытке выполнить запрос вручную на сервере мы видим, что происходит не полный вывод json. В нем явно не все объекты и нет закрывающих скобок.
Пример окончания вывода

{
         "{#UAPMAC}" : "f0:9f:c2:30:cd:2c",
         "{#ID}" : "5e7d538ca9f6163bb0c3c9c9",

Немного о инсталляции:
Контроллеры с 7-10 сайтами, от 1 до 30 точек доступа в каждом сайте.

Zabbix Controller v6 -- import issues

Greetings,
Finding templates that work for unifi on zabbix is really not an easy task. I stumbled across your templates by accident while researching grafina possibilities.
I have downloaded the templates but when I try to import them into zabbix, I get the error "Import failed No file was uploaded." Reading your issues page I saw someone suggested removing the screens. Iwill try this and see.

image

My question is, how will this work with unifi controller v6?
Thanks
Lawrence

Unable to associate template

Hi,
Trying to monitor half dozen UAP, software controller V5.8, Ubuntu 18.04 server both on unifi controller and zabbix server.
zabbix_agentd -t unifi.proxy[discovery,uap] works on command line, but when I try to associate a template with a UAP host I get this message:

Cannot find host interface on "apu-fab.domain.tld" for item key "unifi.proxy[discovery,uap]".

Thanks for your assistance and time to make this code, best regards. Let me know if you need further information.

Import template error for UAP templates

Receive the following error when trying to import zbx_v2_4_passive_Template_UBNT_UniFi_Controller_v_5_UAP.xml or its active counterpart to my zabbix 5.4 installation.

Cannot find value map "Service state" used for item prototype "[{#SITEDESC}] UAP "{#NAME}" ICMP ping" of discovery rule "UniFi Access Points discovery" on "Template UBNT UAP - UniFi Controller v5 - active checks".

No data from controller

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

*** stack smashing detected ***

Здравствуй. Направь пожалуйста на правильный путь. Библиотеку скомпилировал, все положил и прописал как в инструкции. Но если ввести zabbix_agentd -t "unifi.proxy[discovery,wlan]" в консоли получаю следующее:

[60067] 2016-07-11 10:20:24 [-] addToLLD() finished
[60067] 2016-07-11 10:20:24 [.] Make LLD JSON
*** stack smashing detected ***: zabbix_agentd terminated
unifi.proxy[discovery,wlan]                  [60067] 2016-07-11 10:20:24 [-] handleConnection() finished
Aborted (core dumped)

После этого zabbix агент умирает. В чем может быть проблема?

Error Can't localte JSON.pm

Hello!

When execute it the command 'unifi_proxy.pl' i returned this message:

root@zabbix:/# unifi_proxy.pl 
Can't locate JSON.pm in @INC (you may need to install the JSON module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/local/sbin/unifi_proxy.pl line 16.
BEGIN failed--compilation aborted at /usr/local/sbin/unifi_proxy.pl line 16.

I have already installed the packages:

aptitude install libjson-xs-perl libwww-perl libio-socket-ssl-perl libdata-dumper-simple-perl libtime-hires-perl

I need any more packages?

Thanks!! =)

Zabbix agent unsafe user parameters

Document that in order get most of the data from unifi_proxy, zabbix_agentd.conf needs to have
UnsafeUserParameters**=1**
Many of the items otherwise become unsupported as many parameters are passed with quotes symbol:
e.g. unifi.proxy[get,usergroup,default,"[_id=564c517ce4b07de37a55ff18].qos_rate_max_down"]

Command output exceeded limit of 512 KB

Hi.
I get the following error in the zabbix server.
How can we bypass or reduce output?

Zabbix ver 6
Unifi Controller v7
Template Ubiquiti UAP - UniFi Controller v5 v6 v7 - passive checks
Discovery rules
UniFi Proxy 1.4.0

Thank you

image

responses for discovery return variable list length

hi,

I'm experiencing following problem, both with unifi_miner.pl and unify_proxy.pl.

[PROD] phudec@dmplapps02: ~ $ zabbix_get -s diplapps06.cnc.sk -k unifi.proxy[discovery,wlan]
{"data":[]}
[PROD] phudec@dmplapps02: ~ $ zabbix_get -s diplapps06.cnc.sk -k unifi.proxy[discovery,wlan]
{"data":[{"{#SITEID}":"562001260cf28b7adb2609d2","{#NAME}":"CNC-GUEST","{#SITENAME}":"by486k0l","{#ISGUEST}":"0","{#ID}":"562001880cf28b7adb2609e0","{#SITEDESC}":"CNC"}]}
[PROD] phudec@dmplapps02: ~ $ zabbix_get -s diplapps06.cnc.sk -k unifi.proxy[discovery,wlan]
{"data":[{"{#SITENAME}":"by486k0l","{#SITEID}":"562001260cf28b7adb2609d2","{#NAME}":"CNC-GUEST","{#ID}":"562001880cf28b7adb2609e0","{#ISGUEST}":"0","{#SITEDESC}":"CNC"},{"{#SITEDESC}":"DCP","{#SITEID}":"562002230cf28b7adb2609e4","{#NAME}":"DCP-GUEST","{#SITENAME}":"16gwksl1","{#ISGUEST}":"0","{#ID}":"562002650cf28b7adb2609f3"},{"{#SITEID}":"562002230cf28b7adb2609e4","{#NAME}":"CNC-DCP","{#SITENAME}":"16gwksl1","{#ISGUEST}":"0","{#ID}":"562002a40cf28b7adb2609f5","{#SITEDESC}":"DCP"}]}

I run 3 times the same command and the respnse is

  • 0 ittems
  • 1 item
  • 3 items

I suppose the problem is on the contorller side or some caching problem with the perl.

CONTROLLER VERSION: 5.7.23

Lots of Unsupported Items - Zabbix Passive Checks Templates

Hello,

First of all thank you so much for the amazing work done here!
I've been facing more than 1000 unsupported items in Zabbix with the following message:

Preprocessing failed for:

  1. Failed: cannot convert value of type "string" from boolean format: invalid value format

I noticed the issue is being caused because Unifi Controller's API is returning the string 't' for the keys and the template is expecting a boolean value (Numeric (unsigned)). I assume they've changed it recently.

Here is an example of key and the return I receive from unifi_proxy:

zabbix_agentd -t unifi.proxy[get,wlan,ibshgukd,schedule_enabled,588aa961c2dc433e74e46248]
unifi.proxy[get,wlan,ibshgukd,schedule_enabled,588aa961c2dc433e74e46248] [t|]

What can I do to solve this issue?

Best regards,

Everton Bernardi

unifi.proxy empty values or 0

Hi,
I installed the miner.pl but I receive a lot of 0 values and even no values.
I'm uqing the commands unifi.proxy, when using it in command line with zabbix_agentd -t unifi.proxy I receive the correct values but not in the zabbix interface.
Screenshot 2021-06-30 at 16 15 47

Zabbix Agent 3.2.10 Crashes

I am running Zabbix-agent 3.2.10. I've compiled the zbx_unifi_Zabbix_3_2/unifi.c without error and the Zabbix agent loads it.

I can pull the unifi.alive value without issue, but the agent crashes when I try to pull a unifi.proxy value.
zabbix_agentd -t "unifi.alive"
unifi.alive [u|1]

zabbix_agentd -t "unifi.proxy[discovery,wlan]"
zabbix_agentd [18571]: ERROR: Got signal [signal:11(SIGSEGV),reason:1,refaddr:(nil)]. Crashing ...
zabbix_agentd [18571]: ERROR: ====== Fatal information: ======
zabbix_agentd [18571]: ERROR: Program counter: (nil)

<OUTPUT TRUNCATED>

zabbix_agentd [18571]: ERROR: ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
zabbix_agentd [18571]: ERROR: ================================
zabbix_agentd [18571]: ERROR: Please consider attaching a disassembly listing to your bug report.
zabbix_agentd [18571]: ERROR: This listing can be produced with, e.g., objdump -DSswx zabbix_agentd.
zabbix_agentd [18571]: ERROR: ================================

compilation inifi.so

Доброго времени суток. Помогите решить проблему. При компиляции inifi.so в консоль вываливается ошибка:
gcc -fPIC -shared -o unifi.so unifi.c -I ../../../include
unifi.c:1:20: fatal error: sysinc.h: No such file or directory
#include "sysinc.h"
^
compilation terminated.
make: *** [unifi] Error 1

Ubuntu 14.04. gcc, make установлены

unifi_proxy generated triggers disappear from maps...

We've got a problem that we were hoping you could help us with. We're using the latest version of unifi_proxy with Zabbix 3.4.8. We've made a map that has an ICMP trigger for each access point so that we can see if they're up or not. Occasionally, the unifi controller (which has unifi_proxy on it) will lose communication with the access points for some reason. When it does, after a period of time, the triggers disappear from the map. The icons are still there, but the trigger that was configured for ICMP is gone. The strange thing is that the ICMP item and trigger are still in Zabbix. The problem appears to just be with the map. This doesn't happen with any other equipment that we've made maps for. It appears to be specific to any item generated from the unifi_proxy. Have you ever experienced this behavior before? If so, what was causing the problem? If not, what would you suggest I do to troubleshoot the map? I'm not sure where to start.

Unifi Miner or Proxy for Zabbix

What would you recommend if i wanted to pull metrics into Zabbix? Miner or Proxy. From reading your guide, Proxy is faster and less stress on the server?

Zabbix Template: Special characters are not allowed in the parameters.

After setting up unifi_proxy and configuring Zabbix with the passive check templates, a good amount of the items are showing up as "Not Supported" with reason as "Special characters ", ', ", `, *, ?, [, ], {, }, ~, $, !, &, ;, (, ), <, >, |, #, @, 0x0a" are not allowed in the parameters." I am not sure clear on why this is happening. It is able to retrieve the other items just fine. The conf is set to use v5 and the Controller is running on 5.6.29. Items that are not working for instance:

Automatic upgrade firmware
UAP "Upstairs" clients with excellent signal
UAP "Upstairs" clients with low signal

Incorrect max columns provided for screen element

Hello. I am trying to import the templates into a new load of Zabbix 4.4, and getting "Incorrect max columns provided for screen element" on the controller, uap, and user active templates. The usw template imported just fine. I've attempted to change/delete the max columns in the xml, but that did not work.

[1.3.7] Unable to import templates

I am trying to import the new / updated templates in UniFi Proxy 1.3.0/UBNT_UniFi_Controller_v_5_Active_Checks but they do not seem to work:

Controller

Cannot find item "unifi.proxy[sum,uap,{#NAME},guest-num_sta,,0]" on "-Template UBNT UniFi Controller v5 - active checks" used in graph prototype "[{#DESC}] Connected clients to UAPs" of discovery rule "UniFi Sites discovery" on "Template UBNT UniFi Controller v5 - active checks". [conf.import.php:166 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processDiscoveryRules() in include/classes/import/CConfigurationImport.php:122]

UAP

Cannot find item "unifi.proxy[min,user,{#SITENAME},"[ap_mac={#MAC}]._uptime_by_uap",,0]" on "-Template UBNT UAP - UniFi Controller v5 - active checks" used in graph prototype "[{#SITEDESC}] UAP "{#NAME}" client connect duration" of discovery rule "UniFi Access Points discovery" on "Template UBNT UAP - UniFi Controller v5 - active checks". [conf.import.php:166 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processDiscoveryRules() in include/classes/import/CConfigurationImport.php:122]

USW

  • Works fine

User

  • Works fine

I'm running Zabbix 4.2.1 and I was able to import the old templates in to 4.0.x and upgrade to Zabbix 4.2 later on without any issues.

4.0
I have also tested this on Zabbix 4.0.7 but no luck either.

3.0
Tested this on 3.0.27 as well, getting errors there as well.

They import, but are showing the following errors:

Cannot find item "unifi.proxy[get,health,{#SITENAME},"[subsystem={#SUBSYSTEM}].status",,NOT_FOUND]" on "-Template UBNT UniFi Controller v5 - active checks" used in trigger prototype "Subsystem "{#SUBSYSTEM}" in warning state" of discovery rule "UniFi Health discovery" on "Template UBNT UniFi Controller v5 - active checks".

Cannot find item "unifi.proxy[get,uap,{#SITENAME},upgradable,{#ID},0]" on "-Template UBNT UAP - UniFi Controller v5 - active checks" used in trigger prototype "[{#SITEDESC}] UAP "{#NAME}" firmware is not latest" of discovery rule "UniFi Access Points discovery" on "Template UBNT UAP - UniFi Controller v5 - active checks".

Zabbix 3.0

Trying to use it with Zabbix 3.0 & Unifi 4.8.15

Some requests return valid data, some return an empty string. (checking the zabbix_agent.log)

I've tried to extend the timeout in zabbix_agent.conf and when calling nc(added -w 3). But did not helped.

The responses require a rather long time (when not cached): between 2 and 3 sec.

What to check?

Template gives no data elements.

Hello, i installed unifi_proxy on my zabbix server.

Then i import template to my zabbix, i noticed that there is 11 groups of data elements and 11 data element (i suppose there must be more).

Zabbix - 3.2.1

Issues with unifi.proxy

Hi! Have problem with Zabbix on Docker (192.168.x.x:8443) and unifi_proxy.
obraz

Zabbix agent is run on 10050 port, but unifi-proxy cant reach data from unifi... Can You help?

Value should be a JSON object

Unifi Proxy 1.3.7
LLD unifi.proxy[discovery,uap,,vap_table] is getting Error : "Value should be a JSON object".

INVALID JSON (RFC 4627)
Validator Output
Error:Strings should be wrapped in double quotes.[Code 17, Structure 10070]
Error:Expecting closing } at end[Code 22, Structure 10070]
Error:Expecting closing ] at end[Code 22, Structure 10070]
Error:Expecting closing } at end[Code 22, Structure 10070]

Execution zabbix_get command, I`ve receive this end of script

"{#ID}":"5a965d0de4b06de808c4dad2","{#SITENAME}":"default","{#SITE

If I execute zabbix_get -s 127.0.0.1 -k unifi.proxy[discovery,uap] I receive :
"{#ID}":"5a4e1a68e4b001a8cb53efb0"}]}

unifi_proxy return only 25AP's

Hi,

i have Unifi Controller with more than 150 AP's.
When i'm using unifi_miner, all is ok (only performance is bad).
For better performance, i want to use unifi_proxy.
I deploy it to server. Proxy is working, but when i execute for example main discovery query
/usr/local/bin/zabbix/unifi_proxy_get 127.0.0.1 8448
i get only 25 AP's.
Why? Where could be a problem?

Tmeout while executing a shell script

Hi,

Constantly receiving these errors within the zabbix agent log. I have configured the timeout to 30.

3092:20210115:003228.621 Failed to execute command "echo "discovery,site,,,,," | nc 127.0.0.1 8448 -q 1": Timeout while executing a shell script.
3090:20210115:003229.616 Failed to execute command "echo "discovery,wlan,,,,," | nc 127.0.0.1 8448 -q 1": Timeout while executing a shell script.
3091:20210115:003234.619 Failed to execute command "echo "discovery,uap,,vap_table,,," | nc 127.0.0.1 8448 -q 1": Timeout while executing a shell script.
3092:20210115:003628.080 Failed to execute command "echo "discovery,site,,,,," | nc 127.0.0.1 8448 -q 1": Timeout while executing a shell script.
3090:20210115:003634.100 Failed to execute command "echo "discovery,uap,,vap_table,,," | nc 127.0.0.1 8448 -q 1": Timeout while executing a shell script.
3092:20210115:004034.095 Failed to execute command "echo "discovery,uap,,vap_table,,," | nc 127.0.0.1 8448 -q 1": Timeout while executing a shell script.
3090:20210115:004035.098 Failed to execute command "echo "discovery,uap,,vwire_vap_table,,," | nc 127.0.0.1 8448 -q 1": Timeout while executing a shell script.

also, for the unifi switch there is no data being mined.

zabbix_agentd.conf file has the following line -

UserParameter=unifi.proxy[*],echo "$1,$2,$3,$4,$5,$6,$7" | nc 127.0.0.1 8448 -q 1

any pointers on how this can be resolved?

Unifi Dream Machine

I was wondering if this has been tested with the Unifi Dream Machine or the Dream Machine Pro?

Zabbix Server does not get data

Hello,

Can you please check my configuration? I have been struggling to get Unifi_Proxy to work for many hours now. I can run the test command in documentation and get a response OK:
image

Then on my Zabbix Server I have created a new host and applied the templates you provided:
image

But no data is ever gathered, only "Unifi System Info":
image

List of available proxy commands

Hi,

Is there some list of which type of commands I can run to get data from my Unifi proxy?

And in this case I mean, what I can insert in here (marked in bold):
./unifi_proxy_get 127.0.0.1 8448 "discovery,uap"

Regards,
Tobias

zabbix-agentd requests

How can I use the key to get values directly from the Zabbix agent?
I’v tried to check value of “max client RX Rate” item, it’s seems to be in 10 times larger (300 Mbps instead of 30). I’v got the key from the Zabbix item in debug mode:

unifi.proxy[max,user,default,"[ap_mac=80:2a:a8:53:16:ee].rx_rate",,0]
And put it to the zabbix-agent request:
> zabbix_agentd -t "unifi.proxy[median,user,default,ap_mac=80:2a:a8:53:16:ee.rx_rate,,0]"
The answer is always “0”, and its seems to take this number from the end of request.

Please, explain me the correct way to make up unifi_proxy request. Thanks a lot!

Buffer overload

Hi,

please, in our system is lot of AP devices and unifi_proxy_get return result, which has maximum count of chars in script (Buffer 65536).
I know, i can modify it and rebuild, but same problem is in Zabbix, where is limit of buffer also 65536.

Do you know some issue except rebuild whole Zabbix for solve this? For example something like separate results and make more discovery jobs.

Thanks

UniFi Controller with Multiple Sites

My unifi controller manages multiple sites. I have read through both the proxy and miner English manuals and I see no mention on how to implement this for each site when you have multiple sites on your controller. These sites are also monitored via zabbix by utilizing zabbix proxy.

TIA

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.