net-mgmt/telegraf: dns_lookup is DEPREBROKEN

So https://github.com/influxdata/telegraf/blob/master/plugins/inputs/ntpq/README.md
tells us to use options "-n" here instead.

PR: https://forum.opnsense.org/index.php?topic=47814.0
This commit is contained in:
Franco Fichtner 2025-07-02 08:32:19 +02:00
parent 4040c379a0
commit 2d22b81afd

View file

@ -348,9 +348,7 @@
{% if helpers.exists('OPNsense.telegraf.input.ntpq') and OPNsense.telegraf.input.ntpq == '1' %}
[[inputs.ntpq]]
{% if helpers.exists('OPNsense.telegraf.input.ntpq_dns_lookup') and OPNsense.telegraf.input.ntpq_dns_lookup == '1' %}
dns_lookup = true
{% else %}
dns_lookup = false
options = "-n"
{% endif %}
{% endif %}