Page MenuHomeVyOS Platform

Telegraf agent hostname isn't qualified
Closed, ResolvedPublicBUG

Description

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

Details

Difficulty level
Unknown (require assessment)
Version
1.3.2
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Related Objects

Mentioned In
1.3.3