summaryrefslogtreecommitdiff
path: root/data/templates/monitoring/telegraf.tmpl
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-04-13 08:53:34 +0200
committerGitHub <noreply@github.com>2023-04-13 08:53:34 +0200
commit94a6fb73d248e9e9e2c3d4a4ac023228473c9f48 (patch)
tree7752e4e7d9235d7a762af848b0fccf46adb7f508 /data/templates/monitoring/telegraf.tmpl
parent30263ab26b8a9bbebe9356dd4e465b331230e31e (diff)
parent692f103fe535cd8f3ed20206a3c17cddd151e046 (diff)
downloadvyos-1x-94a6fb73d248e9e9e2c3d4a4ac023228473c9f48.tar.gz
vyos-1x-94a6fb73d248e9e9e2c3d4a4ac023228473c9f48.zip
Merge pull request #1954 from sever-sever/T5152-eq
T5152: Get default hostname for telegraf from FQDN or hostname
Diffstat (limited to 'data/templates/monitoring/telegraf.tmpl')
-rw-r--r--data/templates/monitoring/telegraf.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/monitoring/telegraf.tmpl b/data/templates/monitoring/telegraf.tmpl
index c5cbddc8c..5b9838f7b 100644
--- a/data/templates/monitoring/telegraf.tmpl
+++ b/data/templates/monitoring/telegraf.tmpl
@@ -12,7 +12,7 @@
debug = false
quiet = false
logfile = ""
- hostname = ""
+ hostname = "{{ hostname }}"
omit_hostname = false
{% if influxdb_configured is defined %}
[[outputs.influxdb_v2]]