mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
add insecure_skip_verify as an option for Influx v1 output (#2356)
This commit is contained in:
@@ -35,6 +35,12 @@
|
||||
<type>text</type>
|
||||
<help>Set the password for authentication.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>output.influx_ssl_verify</id>
|
||||
<label>Disable SSL verification</label>
|
||||
<type>checkbox</type>
|
||||
<help>This will skip chain and host verification.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>output.influx_v2_enable</id>
|
||||
<label>Enable Influx v2 Output</label>
|
||||
|
||||
@@ -27,6 +27,10 @@
|
||||
<default></default>
|
||||
<Required>N</Required>
|
||||
</influx_password>
|
||||
<influx_ssl_verify type="BooleanField">
|
||||
<default>0</default>
|
||||
<Required>N</Required>
|
||||
</influx_ssl_verify>
|
||||
<graphite_enable type="BooleanField">
|
||||
<default>0</default>
|
||||
<Required>N</Required>
|
||||
|
||||
@@ -73,6 +73,11 @@
|
||||
{% if helpers.exists('OPNsense.telegraf.output.influx_password') and OPNsense.telegraf.output.influx_password != '' %}
|
||||
password = "{{ OPNsense.telegraf.output.influx_password }}"
|
||||
{% endif %}
|
||||
{% if helpers.exists('OPNsense.telegraf.output.influx_ssl_verify') and OPNsense.telegraf.output.influx_ssl_verify == '1' %}
|
||||
insecure_skip_verify = true
|
||||
{% else %}
|
||||
insecure_skip_verify = false
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if helpers.exists('OPNsense.telegraf.output.datadog_enable') and OPNsense.telegraf.output.datadog_enable == '1' %}
|
||||
|
||||
Reference in New Issue
Block a user