From 651d8acd07084d54b1f04439a2a8ae95839845e5 Mon Sep 17 00:00:00 2001 From: David Newhall II Date: Mon, 15 Apr 2019 01:33:20 -0700 Subject: [PATCH] Update readme and example config --- cmd/unifi-poller/README.md | 3 ++- up.conf.example | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/unifi-poller/README.md b/cmd/unifi-poller/README.md index 31b75051..691b7de3 100644 --- a/cmd/unifi-poller/README.md +++ b/cmd/unifi-poller/README.md @@ -32,7 +32,8 @@ unifi-poller(1) -- Utility to poll Unifi Metrics and drop them into InfluxDB `sites` default: ["default"] This list of strings should represent the names of sites on the unifi - controller that should be polled for data. + controller that will be polled for data. Pass `all` in the list to + poll all sites. `interval` default: 30s How often to poll the controller for updated client and device data. diff --git a/up.conf.example b/up.conf.example index 723779e1..c1c13b18 100644 --- a/up.conf.example +++ b/up.conf.example @@ -5,6 +5,7 @@ # If the controller has more than one site, specify which sites to poll here. # If only one site, "default" is likely the correct name. +# Set this to ["all"] to poll all sites, no matter their names. #sites = ["default"] # The Unifi Controller only updates traffic stats about every 30 seconds.