When monitoring Vyos and enabling Telegraf, the agent hostname is left blank ("").
In scenarios where you may have more than one machine with different domain names, this causes issue with metrics in InfluxDB. There is no way to monitoring which instance is producing the metrics.
Example - Router 1:
domain-name foo.io host-name firewall
Example - Router 2:
domain-name bar.io host-name firewall
Since the domain-name and host-name are defined VyOS, the Telegraf agent hostname should be populated with...
"firewall.foo.io" or "firewall.bar.io" depending on the instance.
Alternatively, a new variable could be created for the service -> monitoring -> telegraf -> hostname