OPNsense Forum

English Forums => 25.1, 25.4 Production Series => Topic started by: poodad on July 02, 2025, 05:39:19 AM

Title: 25.1.10 breaks telegraf
Post by: poodad on July 02, 2025, 05:39:19 AM
The GUI config for telegraf inputs has an option for "dns_lookup" and adds the option (either true or false) to the telegraf config file. The "dns_lookup" option in inputs.ntpq was deprecated some time back and the telegraf that is installed with 25.1.10 considers it a config error and stops config from loading. 

To fix, comment out the following from /usr/local/etc/telegraf.conf


[[inputs.ntpq]]
  dns_lookup = false
Title: Re: 25.1.10 breaks telegraf
Post by: meyergru on July 02, 2025, 08:21:20 AM
Please file a bug report on Github, should be easy to fix.
Title: Re: 25.1.10 breaks telegraf
Post by: franco on July 02, 2025, 08:29:01 AM
>  telegraf that is installed with 25.1.10 considers it a config error and stops config from loading

We have entered the software era of make it and break it for no reason other than annoying users? I mean ignoring the setting is out of the question? Geez.


Cheers,
Franco
Title: Re: 25.1.10 breaks telegraf
Post by: franco on July 02, 2025, 08:34:39 AM
How about this then:

# opnsense-patch https://github.com/opnsense/plugins/commit/2d22b81af


Cheers,
Franco