mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net-mgmt/telegraf: add telegraf.d as config include (#2413)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
PLUGIN_NAME= telegraf
|
||||
PLUGIN_VERSION= 1.10.1
|
||||
PLUGIN_VERSION= 1.11.0
|
||||
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.11.0
|
||||
|
||||
* Set telegraf.d as additional config include
|
||||
|
||||
1.10.1
|
||||
|
||||
* Fix Suricata input controller being the output section and incorrect statement
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
mkdir -p /var/log/telegraf
|
||||
chown -R telegraf:telegraf /var/log/telegraf
|
||||
chmod 750 /var/log/telegraf
|
||||
mkdir -p /usr/local/etc/telegraf.d /var/log/telegraf
|
||||
chown -R telegraf:telegraf /usr/local/etc/telegraf.d /var/log/telegraf
|
||||
chmod 750 /usr/local/etc/telegraf.d /var/log/telegraf
|
||||
|
||||
/usr/sbin/pw groupmod proxy -m telegraf
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{% if helpers.exists('OPNsense.telegraf.general.enabled') and OPNsense.telegraf.general.enabled == '1' %}
|
||||
telegraf_var_script="/usr/local/opnsense/scripts/OPNsense/Telegraf/setup.sh"
|
||||
telegraf_enable="YES"
|
||||
telegraf_confdir="/usr/local/etc/telegraf.d"
|
||||
{% else %}
|
||||
telegraf_enable="NO"
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user