Hostname repariert
This commit is contained in:
parent
b3c96687c3
commit
dc2417f6a2
2 changed files with 3 additions and 1 deletions
|
@ -30,6 +30,8 @@ services:
|
|||
- "docker.group=telegraf"
|
||||
dns:
|
||||
- ${LOCAL_DNS_SERVER}
|
||||
environment:
|
||||
- "HOST_NAME=${HOST_NAME}"
|
||||
|
||||
networks:
|
||||
dockersocket:
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
precision = ""
|
||||
|
||||
## Override default hostname, if empty use os.Hostname()
|
||||
hostname = ""
|
||||
hostname = "${HOST_NAME}"
|
||||
## If set to true, do no set the "host" tag in the telegraf agent.
|
||||
omit_hostname = false
|
||||
|
||||
|
|
Loading…
Reference in a new issue