mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net-mgmt/telegraf: logging changed in rc-script with 1.7.X (#886)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
PLUGIN_NAME= telegraf
|
||||
PLUGIN_VERSION= 1.6.0
|
||||
PLUGIN_VERSION= 1.7.0
|
||||
PLUGIN_COMMENT= Agent for collecting metrics and data
|
||||
PLUGIN_DEPENDS= telegraf
|
||||
PLUGIN_MAINTAINER= m.muenz@gmail.com
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
mkdir -p /var/log/telegraf
|
||||
chown -R telegraf:telegraf /var/log/telegraf
|
||||
chmod 750 /var/log/telegraf
|
||||
@@ -34,7 +34,6 @@
|
||||
precision = ""
|
||||
debug = false
|
||||
quiet = true
|
||||
logfile = "/var/log/telegraf.log"
|
||||
{% if helpers.exists('OPNsense.telegraf.general.hostname') and OPNsense.telegraf.general.hostname != '' %}
|
||||
hostname = "{{ OPNsense.telegraf.general.hostname }}"
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user