summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-10-11 19:33:03 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-10-11 19:33:03 +0000
commit6859a2474dab7c2e118020af621e5b6a5a8f7fca (patch)
tree77901be8b378310203ab555c92cecfecc063c74a /data
parent06d6386e5d9fb9812b23032516bbdc938dcc4a9f (diff)
downloadvyos-1x-6859a2474dab7c2e118020af621e5b6a5a8f7fca.tar.gz
vyos-1x-6859a2474dab7c2e118020af621e5b6a5a8f7fca.zip
monitoring: T4747: Fix template check influxdb config
Due to monitoring telegraf was rewritten - fix template for inputs.exec plugin We do not use 'influxdb_configured' in the dictionary anymore and use just 'influxdb'
Diffstat (limited to 'data')
-rw-r--r--data/templates/telegraf/telegraf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/telegraf/telegraf.j2 b/data/templates/telegraf/telegraf.j2
index 2d14230ae..36571ce98 100644
--- a/data/templates/telegraf/telegraf.j2
+++ b/data/templates/telegraf/telegraf.j2
@@ -110,7 +110,7 @@
server = "unixgram:///run/telegraf/telegraf_syslog.sock"
best_effort = true
syslog_standard = "RFC3164"
-{% if influxdb_configured is vyos_defined %}
+{% if influxdb is vyos_defined %}
[[inputs.exec]]
commands = [
"{{ custom_scripts_dir }}/show_firewall_input_filter.py",