mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net-mgmt/telegraf: don't set timeout for disabled InfluxDB v2 (#3313)
* net-mgmt/telegraf: don't set timeout for disabled InfluxDB v2 * forgot to version bump
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
PLUGIN_NAME= telegraf
|
||||
PLUGIN_VERSION= 1.12.7
|
||||
PLUGIN_VERSION= 1.12.8
|
||||
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.8
|
||||
|
||||
* bug: fix InfluxDB v2 template to remove erroneous `timeout` value (issue #3265, contributed by Gavin Chappell)
|
||||
|
||||
1.12.7
|
||||
|
||||
* Add Influx v2 flush timeout
|
||||
|
||||
@@ -175,10 +175,10 @@
|
||||
{% else %}
|
||||
insecure_skip_verify = false
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if helpers.exists('OPNsense.telegraf.output.influx_v2_timeout') and OPNsense.telegraf.output.influx_v2_timeout != '' %}
|
||||
timeout = "{{ OPNsense.telegraf.output.influx_v2_timeout }}s"
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if helpers.exists('OPNsense.telegraf.input.cpu') and OPNsense.telegraf.input.cpu == '1' %}
|
||||
[[inputs.cpu]]
|
||||
|
||||
Reference in New Issue
Block a user