update examples for lambda config
This commit is contained in:
parent
d55a00abe0
commit
fec1252d5e
|
|
@ -1,4 +1,4 @@
|
||||||
# unifi-poller primary configuration file. TOML FORMAT #
|
# UniFi Poller primary configuration file. TOML FORMAT #
|
||||||
# commented lines are defaults, uncomment to change. #
|
# commented lines are defaults, uncomment to change. #
|
||||||
########################################################
|
########################################################
|
||||||
|
|
||||||
|
|
@ -20,7 +20,12 @@
|
||||||
# Recommend enabling debug with this setting for better error logging.
|
# Recommend enabling debug with this setting for better error logging.
|
||||||
#quiet = false
|
#quiet = false
|
||||||
|
|
||||||
# If the poller experiences an error from the UniFi Controller or from InfluxDB
|
# Lambda mode makes the application exit after collecting and reporting metrics one time.
|
||||||
|
# This mode requires an external process like an AWS Lambda or a simple crontab to keep
|
||||||
|
# the timings accurate on UniFi Poller run intervals.
|
||||||
|
#lambda = false
|
||||||
|
|
||||||
|
# If the poller experiences an error from the UniFi controller or from InfluxDB
|
||||||
# it will exit. If you do not want it to exit, change max_errors to -1. You can
|
# it will exit. If you do not want it to exit, change max_errors to -1. You can
|
||||||
# adjust the config to tolerate more errors by setting this to a higher value.
|
# adjust the config to tolerate more errors by setting this to a higher value.
|
||||||
# Recommend setting this between 0 and 5. See man page for more explanation.
|
# Recommend setting this between 0 and 5. See man page for more explanation.
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
"interval": "30s",
|
"interval": "30s",
|
||||||
"debug": false,
|
"debug": false,
|
||||||
"quiet": false,
|
"quiet": false,
|
||||||
|
"lambda": false,
|
||||||
"max_errors": 0,
|
"max_errors": 0,
|
||||||
"influx_url": "http://127.0.0.1:8086",
|
"influx_url": "http://127.0.0.1:8086",
|
||||||
"influx_user": "unifi",
|
"influx_user": "unifi",
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!--
|
<!--
|
||||||
#######################################################
|
#######################################################
|
||||||
# unifi-poller primary configuration file. XML FORMAT #
|
# UniFi Poller primary configuration file. XML FORMAT #
|
||||||
# provided values are defaults #
|
# provided values are defaults #
|
||||||
#######################################################
|
#######################################################
|
||||||
-->
|
-->
|
||||||
|
|
@ -36,7 +36,14 @@
|
||||||
<quiet>false</quiet>
|
<quiet>false</quiet>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
# If the poller experiences an error from the UniFi Controller or from InfluxDB
|
# Lambda mode makes the application exit after collecting and reporting metrics one time.
|
||||||
|
# This mode requires an external process like an AWS Lambda or a simple crontab to keep
|
||||||
|
# the timings accurate on UniFi Poller run intervals.
|
||||||
|
-->
|
||||||
|
<lambda>false</lambda>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
# If the poller experiences an error from the UniFi controller or from InfluxDB
|
||||||
# it will exit. If you do not want it to exit, change max_errors to -1. You can
|
# it will exit. If you do not want it to exit, change max_errors to -1. You can
|
||||||
# adjust the config to tolerate more errors by setting this to a higher value.
|
# adjust the config to tolerate more errors by setting this to a higher value.
|
||||||
# Recommend setting this between 0 and 5. See man page for more explanation.
|
# Recommend setting this between 0 and 5. See man page for more explanation.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# unifi-poller primary configuration file. YAML FORMAT #
|
# UniFi Poller primary configuration file. YAML FORMAT #
|
||||||
# provided values are defaults #
|
# provided values are defaults #
|
||||||
########################################################
|
########################################################
|
||||||
---
|
---
|
||||||
|
|
@ -21,7 +21,12 @@ debug: false
|
||||||
# Recommend enabling debug with this setting for better error logging.
|
# Recommend enabling debug with this setting for better error logging.
|
||||||
quiet: false
|
quiet: false
|
||||||
|
|
||||||
# If the poller experiences an error from the UniFi Controller or from InfluxDB
|
# Lambda mode makes the application exit after collecting and reporting metrics one time.
|
||||||
|
# This mode requires an external process like an AWS Lambda or a simple crontab to keep
|
||||||
|
# the timings accurate on UniFi Poller run intervals.
|
||||||
|
lambda: false
|
||||||
|
|
||||||
|
# If the poller experiences an error from the UniFi controller or from InfluxDB
|
||||||
# it will exit. If you do not want it to exit, change max_errors to -1. You can
|
# it will exit. If you do not want it to exit, change max_errors to -1. You can
|
||||||
# adjust the config to tolerate more errors by setting this to a higher value.
|
# adjust the config to tolerate more errors by setting this to a higher value.
|
||||||
# Recommend setting this between 0 and 5. See man page for more explanation.
|
# Recommend setting this between 0 and 5. See man page for more explanation.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue