mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net-mgmt/telegraf: add graphite tag support (#1253)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
PLUGIN_NAME= telegraf
|
||||
PLUGIN_VERSION= 1.7.4
|
||||
PLUGIN_REVISION= 1
|
||||
PLUGIN_VERSION= 1.7.5
|
||||
PLUGIN_COMMENT= Agent for collecting metrics and data
|
||||
PLUGIN_DEPENDS= telegraf
|
||||
PLUGIN_MAINTAINER= m.muenz@gmail.com
|
||||
|
||||
@@ -7,4 +7,13 @@ metrics to a variety of other datastores, services, and message
|
||||
queues, including InfluxDB, Graphite, OpenTSDB, Datadog, Librato,
|
||||
Kafka, MQTT, NSQ, and many others.
|
||||
|
||||
|
||||
Plugin Changelog
|
||||
================
|
||||
|
||||
1.7.5
|
||||
|
||||
* Add Graphite tag support
|
||||
|
||||
|
||||
WWW: https://www.influxdata.com/time-series-platform/telegraf/
|
||||
|
||||
@@ -65,6 +65,12 @@
|
||||
<type>checkbox</type>
|
||||
<help>This will enable verification of a secure connection to Graphite. Default is disabled for compatibility reasons.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>output.graphite_tagsupport</id>
|
||||
<label>Graphite Tag Support</label>
|
||||
<type>checkbox</type>
|
||||
<help>This will enable support for tags.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>output.graylog_enable</id>
|
||||
<label>Enable Graylog Output</label>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<model>
|
||||
<mount>//OPNsense/telegraf/output</mount>
|
||||
<description>Telegraf outputs configuration</description>
|
||||
<version>1.3.0</version>
|
||||
<version>1.3.1</version>
|
||||
<items>
|
||||
<influx_enable type="BooleanField">
|
||||
<default>0</default>
|
||||
@@ -44,6 +44,10 @@
|
||||
<default>0</default>
|
||||
<Required>N</Required>
|
||||
</graphite_verify>
|
||||
<graphite_tagsupport type="BooleanField">
|
||||
<default>0</default>
|
||||
<Required>N</Required>
|
||||
</graphite_tagsupport>
|
||||
<graylog_enable type="BooleanField">
|
||||
<default>0</default>
|
||||
<Required>N</Required>
|
||||
|
||||
@@ -81,6 +81,9 @@
|
||||
{% else %}
|
||||
insecure_skip_verify = false
|
||||
{% endif %}
|
||||
{% if helpers.exists('OPNsense.telegraf.output.graphite_tagsupport') and OPNsense.telegraf.output.graphite_tagsupport == '1' %}
|
||||
graphite_tag_support = true
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if helpers.exists('OPNsense.telegraf.output.graylog_enable') and OPNsense.telegraf.output.graylog_enable == '1' %}
|
||||
|
||||
Reference in New Issue
Block a user