mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
This reverts commit ee7868fa93.
This commit is contained in:
@@ -313,8 +313,7 @@
|
||||
|
||||
{% if helpers.exists('OPNsense.telegraf.input.ping') and OPNsense.telegraf.input.ping == '1' %}
|
||||
[[inputs.ping]]
|
||||
method = "native"
|
||||
ipv4 = true
|
||||
method = "exec"
|
||||
{% if helpers.exists('OPNsense.telegraf.input.ping_hosts') and OPNsense.telegraf.input.ping_hosts != '' %}
|
||||
urls = [{{ "'" + ("','".join(OPNsense.telegraf.input.ping_hosts.split(','))) + "'" }}]
|
||||
{% endif %}
|
||||
@@ -325,8 +324,8 @@
|
||||
|
||||
{% if helpers.exists('OPNsense.telegraf.input.ping6') and OPNsense.telegraf.input.ping6 == '1' %}
|
||||
[[inputs.ping]]
|
||||
method = "native"
|
||||
ipv6 = true
|
||||
method = "exec"
|
||||
binary = "ping6"
|
||||
{% if helpers.exists('OPNsense.telegraf.input.ping6_hosts') and OPNsense.telegraf.input.ping6_hosts != '' %}
|
||||
urls = [{{ "'" + ("','".join(OPNsense.telegraf.input.ping6_hosts.split(','))) + "'" }}]
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user