move to a common pattern on output plugins to catch common issues

This commit is contained in:
Cody Lee
2022-12-05 21:47:42 -06:00
parent 689423d4dd
commit bd51cf59f3
10 changed files with 155 additions and 39 deletions

View File

@@ -69,8 +69,8 @@
# How often to poll UniFi and report to Datadog.
interval = "2m"
# To disable this output plugin
disable = true
# To enable this output plugin
enable = false
# Datadog Custom Options
@@ -84,7 +84,7 @@
# tags = [ "customer:abc_corp" ]
# For more advanced options for very large amount of data collected see the upstream
# github.com/unpoller/datadogunifi repository README.
# github.com/unpoller/unpoller/pkg/datadogunifi repository README.
# Unpoller has an optional web server. To turn it on, set enable to true. If you

View File

@@ -35,6 +35,15 @@
}
},
"datadog": {
"enable": false,
"address": "localhost:8125",
"namespace": "",
"tags": [
"customer:abcde"
]
}
"unifi": {
"dynamic": false,
"defaults": {

View File

@@ -36,6 +36,13 @@ webserver:
accounts:
captain: "$2a$04$mxw6i0LKH6u46oaLK2cq5eCTAAFkfNiRpzNbz.EyvJZZWNa2FzIlS"
datadog:
enable: false
address: localhost:8125
namespace: ""
tags:
- customer:abcdef
unifi:
dynamic: false
defaults: