summaryrefslogtreecommitdiff
path: root/data/templates/telegraf
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-04-11 20:45:06 +0200
committerGitHub <noreply@github.com>2023-04-11 20:45:06 +0200
commit14582acd1c7d169f6d50efc7aaf250fecff81740 (patch)
tree892ad42fdd8f142529dda7da1349b5cb3b6a32b1 /data/templates/telegraf
parentc5cd065773a0ce5b2b9e94ae6c79a72b805832a6 (diff)
parent2179cf45d606d23abfcb96c000db5c9316c48a59 (diff)
downloadvyos-1x-14582acd1c7d169f6d50efc7aaf250fecff81740.tar.gz
vyos-1x-14582acd1c7d169f6d50efc7aaf250fecff81740.zip
Merge pull request #1950 from sever-sever/T5152
T5152: Get default hostname for telegraf from FQDN or hostname
Diffstat (limited to 'data/templates/telegraf')
-rw-r--r--data/templates/telegraf/telegraf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/telegraf/telegraf.j2 b/data/templates/telegraf/telegraf.j2
index c9f402281..5852d6232 100644
--- a/data/templates/telegraf/telegraf.j2
+++ b/data/templates/telegraf/telegraf.j2
@@ -12,7 +12,7 @@
debug = false
quiet = false
logfile = ""
- hostname = ""
+ hostname = "{{ hostname }}"
omit_hostname = false
{% if azure_data_explorer is vyos_defined %}
### Azure Data Explorer ###