mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/telegraf: Add skip_verify also to influxv2 (#2649)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
PLUGIN_NAME= telegraf
|
||||
PLUGIN_VERSION= 1.12.2
|
||||
PLUGIN_VERSION= 1.12.3
|
||||
PLUGIN_COMMENT= Agent for collecting metrics and data
|
||||
PLUGIN_DEPENDS= telegraf
|
||||
PLUGIN_MAINTAINER= m.muenz@gmail.com
|
||||
|
||||
@@ -12,6 +12,10 @@ WWW: https://www.influxdata.com/time-series-platform/telegraf/
|
||||
Plugin Changelog
|
||||
================
|
||||
|
||||
1.12.3
|
||||
|
||||
* Add insecure_skip_verify as an option for Influx v2 output
|
||||
|
||||
1.12.2
|
||||
|
||||
* Add insecure_skip_verify as an option for Influx v1 output
|
||||
|
||||
@@ -71,6 +71,12 @@
|
||||
<type>text</type>
|
||||
<help>Set the name of the bucket in Influx v2.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>output.influx_v2_insecure_skip_verify</id>
|
||||
<label>Disable SSL verification v2</label>
|
||||
<type>checkbox</type>
|
||||
<help>This will skip chain and host verification.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>output.graphite_enable</id>
|
||||
<label>Enable Graphite Output</label>
|
||||
|
||||
@@ -113,6 +113,10 @@
|
||||
<default></default>
|
||||
<Required>N</Required>
|
||||
</influx_v2_bucket>
|
||||
<influx_v2_insecure_skip_verify type="BooleanField">
|
||||
<default>0</default>
|
||||
<Required>N</Required>
|
||||
</influx_v2_insecure_skip_verify>
|
||||
<datadog_enable type="BooleanField">
|
||||
<default>0</default>
|
||||
<Required>N</Required>
|
||||
|
||||
@@ -164,6 +164,11 @@
|
||||
{% if helpers.exists('OPNsense.telegraf.output.influx_v2_bucket') and OPNsense.telegraf.output.influx_v2_bucket != '' %}
|
||||
bucket = "{{ OPNsense.telegraf.output.influx_v2_bucket }}"
|
||||
{% endif %}
|
||||
{% if helpers.exists('OPNsense.telegraf.output.influx_v2_insecure_skip_verify') and OPNsense.telegraf.output.influx_v2_insecure_skip_verify == '1' %}
|
||||
insecure_skip_verify = true
|
||||
{% else %}
|
||||
insecure_skip_verify = false
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if helpers.exists('OPNsense.telegraf.input.cpu') and OPNsense.telegraf.input.cpu == '1' %}
|
||||
|
||||
Reference in New Issue
Block a user