diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-04-12 08:39:24 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-04-12 08:39:24 +0000 |
commit | 692f103fe535cd8f3ed20206a3c17cddd151e046 (patch) | |
tree | a02f53412f7ab326867c637a39c9f4044ad2a6c2 /data/templates/snmp | |
parent | 0b0f991a86461ed725762010cf263fb2f0eaa16a (diff) | |
download | vyos-1x-692f103fe535cd8f3ed20206a3c17cddd151e046.tar.gz vyos-1x-692f103fe535cd8f3ed20206a3c17cddd151e046.zip |
T5152: Get default hostname for telegraf from FQDN or hostname
Fix for Telegraf agent hostname isn't qualified
Try to get the hostname from FQDN and then from the hostname
Used for metrics
You may have more than one machine with different domain names
r1 domain-name foo.local, hostname myhost
r2 domain-name bar.local, hostname myhost
It helps to detect from which exactly host we get metrics for
InfluxDB2
Diffstat (limited to 'data/templates/snmp')
0 files changed, 0 insertions, 0 deletions