-
Notifications
You must be signed in to change notification settings - Fork 143
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
save_rogue does not seem to work #405
Comments
can you check again in the latest 2.4.6+ release? I see this code should be saving on the |
I tested it again with version 2.4.6, 2.5.0 and 2.7.5 and there is still no
Some Logs:
|
I am still seeing this issue on v2.11.1 I can see the collection occuring
But it doesn't appear to be sending nor is there any data in Loki or InfluxDB I did spot this
Which contains no information about rogue APs |
I'd like to import the neighboring/rogue access point data into grafana, so I set
save_rogue = true
in my unpoller config file.During startup I can verify that it was enabled by checking the logs:
up-poller | 2022/03/25 16:58:49 [INFO] => Save Rogue APs: true
Polling also completes successfully (although rogue APs are not mentioned):
up-poller | 2022/03/25 16:59:20 [INFO] UniFi Metrics Recorded. Site: 1, Client: 6, Gateways: 0, UAP: 3, USW: 0, IDS/Event/Alarm/Anomaly: 0/0/0/0, DPI Site/Client: 1/0, Point: 33, Fields: 1136, Err: 0, Dur: 9ms
However, I am unable to find any rogue AP related data in my InfluxDB instance. Did I miss anything?
If it matters: I installed with docker-compose.
More logs:
up-poller | 2022/03/25 16:58:49 [INFO] Loading Configuration File: /config/unifi-poller.conf
up-poller | 2022/03/25 16:58:49 [INFO] UniFi Poller v2.1.3 Starting Up! PID: 1
up-poller | 2022/03/25 16:58:49 [INFO] Found 1 site(s) on controller https://192.168.0.200:8443: default (Default)
up-poller | 2022/03/25 16:58:49 [INFO] Configured UniFi Controller 1 of 1:
up-poller | 2022/03/25 16:58:49 [INFO] => URL: https://192.168.0.200:8443 (verify SSL: false)
up-poller | 2022/03/25 16:58:49 [INFO] => Version: 7.0.23 (43c7da9e-9f56-4ab2-b2d7-7d379e9196d9)
up-poller | 2022/03/25 16:58:49 [INFO] => Username: unifipoller (has password: true)
up-poller | 2022/03/25 16:58:49 [INFO] => Hash PII / Poll Sites: false / all
up-poller | 2022/03/25 16:58:49 [INFO] => Save Sites / Save DPI: true / true (metrics)
up-poller | 2022/03/25 16:58:49 [INFO] => Save Events / Save IDS: true / true (logs)
up-poller | 2022/03/25 16:58:49 [INFO] => Save Alarms / Anomalies: true / true (logs)
up-poller | 2022/03/25 16:58:49 [INFO] => Save Rogue APs: true
up-poller | 2022/03/25 16:58:49 [INFO] Prometheus config missing (or disabled), Prometheus HTTP listener disabled!
up-poller | 2022/03/25 16:58:49 [INFO] Loki config missing (or disabled), Loki output disabled!
up-poller | 2022/03/25 16:58:49 [INFO] Internal web server disabled!
up-poller | 2022/03/25 16:58:49 [INFO] Poller->InfluxDB started, interval: 30s, dp: false, db: unifi, url: http://192.168.0.200:8086
up_influxdb | [httpd] 172.24.0.1 - unifipoller [25/Mar/2022:16:59:20 +0000] "POST /write?consistency=&db=unifi&precision=ns&rp= HTTP/1.1 " 204 0 "-" "InfluxDBClient" e9d37690-ac5c-11ec-8001-0242ac180002 6033
up-poller | 2022/03/25 16:59:20 [INFO] UniFi Metrics Recorded. Site: 1, Client: 6, Gateways: 0, UAP: 3, USW: 0, IDS/Event/Alarm/Anomaly: 0/0/0/0, DPI Site/Client: 1/0, Point: 33, Fields: 1136, Err: 0, Dur: 9ms
The text was updated successfully, but these errors were encountered: