mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
Telegraf: fix flush_interval option (#1917)
The Telegraf flush_interval option is not working correctly. The option was not being added to the telegraf.conf file. Add the missing flush_interval option to the template to fix this problem.
This commit is contained in:
@@ -28,6 +28,9 @@
|
||||
{% if helpers.exists('OPNsense.telegraf.general.collection_jitter') and OPNsense.telegraf.general.collection_jitter != '' %}
|
||||
collection_jitter = "{{ OPNsense.telegraf.general.collection_jitter }}s"
|
||||
{% endif %}
|
||||
{% if helpers.exists('OPNsense.telegraf.general.flush_interval') and OPNsense.telegraf.general.flush_interval != '' %}
|
||||
flush_interval = "{{ OPNsense.telegraf.general.flush_interval }}s"
|
||||
{% endif %}
|
||||
{% if helpers.exists('OPNsense.telegraf.general.flush_jitter') and OPNsense.telegraf.general.flush_jitter != '' %}
|
||||
flush_jitter = "{{ OPNsense.telegraf.general.flush_jitter }}s"
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user