Page MenuHomeVyOS Platform

Telegraf prometheus-client listen-address invalid format
Closed, ResolvedPublicBUG

Description

There are two current issues with the telegraf prometheus-client listen-address configuration. It seems to accept multiple address values, However it seems to only be able to accept one address in the configuration file, It also does not provide brackets around IPv6 addresses causing a too many colon error when using a single IPv6 Address.

Sep 8 17:21:04 vyos telegraf[4308]: 2022-09-08T17:21:04Z E! [agent] Failed to connect to [outputs.prometheus_client], retrying in 15s, error was 'listen tcp: lookup '172.16.4.155', '2602:fb68:3::155': no such host'

Sep 8 17:25:10 vyos telegraf[236694]: 2022-09-08T17:25:10Z E! [telegraf] Error running agent: connecting output outputs.prometheus_client: Error connecting to output "outputs.prometheus_client": listen tcp: address 2602:fb68:3::155:9273: too many colons in address

Details

Version
1.4-rolling-202209070217
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav changed the task status from Open to In progress.Sep 14 2022, 7:31 PM
Viacheslav assigned this task to ServerForge.
Viacheslav changed the task status from In progress to Needs testing.Sep 25 2022, 6:31 PM
Viacheslav moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus (1.3.3) board.
Viacheslav moved this task from Open to Finished on the VyOS 1.4 Sagitta board.