Update etc/telegraf.conf, mqtt_cons readme
This commit is contained in:
parent
ed492fe950
commit
aeadc2c43a
|
@ -21,8 +21,12 @@ The plugin expects messages in the
|
||||||
"sensors/#",
|
"sensors/#",
|
||||||
]
|
]
|
||||||
|
|
||||||
## Maximum number of metrics to buffer between collection intervals
|
# if true, messages that can't be delivered while the subscriber is offline
|
||||||
metric_buffer = 100000
|
# will be delivered when it comes back (such as on service restart).
|
||||||
|
# NOTE: if true, client_id MUST be set
|
||||||
|
persistent_session = false
|
||||||
|
# If empty, a random client ID will be generated.
|
||||||
|
client_id = ""
|
||||||
|
|
||||||
## username and password to connect MQTT server.
|
## username and password to connect MQTT server.
|
||||||
# username = "telegraf"
|
# username = "telegraf"
|
||||||
|
|
Loading…
Reference in New Issue