credentials between telegraf and influxdb OK

This commit is contained in:
2022-12-30 10:55:23 +01:00
parent f12e071381
commit 7ec03410cd
3 changed files with 12 additions and 3 deletions
+2 -1
View File
@@ -47,7 +47,7 @@
## Run telegraf in quiet mode
quiet = false
## Override default hostname, if empty use os.Hostname()
hostname = "lenovo"
hostname = ""
###############################################################################
@@ -70,6 +70,7 @@
## Write timeout (for the InfluxDB client), formatted as a string.
## If not provided, will default to 5s. 0s means no timeout (not recommended).
timeout = "5s"
username = ""
password = ""
# Set the user agent for HTTP POSTs (can be useful for log differentiation)