mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net-mgmt/telegraf: make sure the defaults are explicit
exec/binary are set for IPv6 now, do the same for IPv4 although for now this appears to be the default in telegraf: https://github.com/influxdata/telegraf/blob/master/plugins/inputs/ping/README.md#ping-input-plugin
This commit is contained in:
@@ -314,6 +314,7 @@
|
||||
{% if helpers.exists('OPNsense.telegraf.input.ping') and OPNsense.telegraf.input.ping == '1' %}
|
||||
[[inputs.ping]]
|
||||
method = "exec"
|
||||
binary = "ping"
|
||||
{% if helpers.exists('OPNsense.telegraf.input.ping_hosts') and OPNsense.telegraf.input.ping_hosts != '' %}
|
||||
urls = [{{ "'" + ("','".join(OPNsense.telegraf.input.ping_hosts.split(','))) + "'" }}]
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user