From b524a2311fd57d01f5023d3a45d470c1e3bf7d4f Mon Sep 17 00:00:00 2001 From: M.Gergő Date: Mon, 25 May 2020 19:40:14 +0200 Subject: Readme --- README.md | 17 +++++++++++++++-- test.sh | 2 +- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 413d72c..9381329 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ Edit the **/etc/munin/plugin-conf.d/munin-node**, and use the following configur env.timeout - The maximum timeout in milliseconds of SNMP requests. (must enough to get all data!). env.retry - Number of retry after failed/time out SNMP requets. env.maxproc - Maximum nuber of child processes (for SNMP get) - env.devnetw - The network of the APs. (It is expreimental yet.) + env.devnetw - The network of the APs. (COMMENT IT OUT, IF NOT USED !!!) env.resolvdup - Clarify if Ap is duplicated (Listed via hostname at "devices", and also is in "devnet" network/mask) @@ -78,13 +78,26 @@ For example: timeout 240 env.controller unifi.company.com env.devices ap01.wl.company.lan ap02.wl.company.lan ap03.wl.company.lan 10.10.1.6 10.10.1.7 10.10.1.8 - env.devnetw 10.10.1.10/24 + #env.devnetw 10.10.1.10/24 env.timeout 850 env.retry 3 env.maxproc 32 env.resolvdup 1 +### DEBUG Checklist + +* Munin output with: `munin-run ubnt_unifi` command. +* Munin configuration with: `munin-run ubnt_unifi config` command. +* Debug information with: `munin-run ubnt_unifi debug` command. +* Is there a direct connection (Routing/SNMP_port: 161) between munin-server and Access Points? +* Is "php-json" and "php-snmp" installed? +* Is SNMP enabled in Unifi configuration, or on Access Points? +* Try ping APs from munin server. + + +--- + ### AUTHOR Copyright (C) 2018-2020 Gergő J. Miklós. diff --git a/test.sh b/test.sh index b8e828c..8ec99d3 100755 --- a/test.sh +++ b/test.sh @@ -4,7 +4,7 @@ controller="aaa.bbb.com" timeout="800" retry="1" maxproc="24" -devnet="192.168.1.0/24" +#devnet="192.168.1.0/24" devices="ap1.local ap10.aaa.bb index.hu 192.168.1.1 192.168.1.111" resolvdup="1" -- cgit v1.2.3