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

Version
1.3.2
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

dhoard updated the task description. (Show Details)
dhoard updated the task description. (Show Details)
Viacheslav changed the task status from Open to In progress.Apr 11 2023, 7:19 AM
Viacheslav claimed this task.
Viacheslav changed the task status from In progress to Needs testing.Apr 11 2023, 6:46 PM