summaryrefslogtreecommitdiff
path: root/data/templates/monitoring
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-02-08 22:43:36 +0100
committerGitHub <noreply@github.com>2022-02-08 22:43:36 +0100
commit08484df27aa030ef8ca878dc28a1a53d2143409e (patch)
treeda5ee5898cf44f18768312cb031595a785669cbc /data/templates/monitoring
parentd96bab4e6da517f07133667834cd6f8bcfb5160f (diff)
parent4ddfe9b7e72e4f1e1fc8e70c5239bf09644e6d9b (diff)
downloadvyos-1x-08484df27aa030ef8ca878dc28a1a53d2143409e.tar.gz
vyos-1x-08484df27aa030ef8ca878dc28a1a53d2143409e.zip
Merge pull request #1209 from sever-sever/T3872
monitoring: T3872: Add input filter for firewall InfluxDB2
Diffstat (limited to 'data/templates/monitoring')
-rw-r--r--data/templates/monitoring/telegraf.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/templates/monitoring/telegraf.tmpl b/data/templates/monitoring/telegraf.tmpl
index 465b58c80..d3145a500 100644
--- a/data/templates/monitoring/telegraf.tmpl
+++ b/data/templates/monitoring/telegraf.tmpl
@@ -17,7 +17,7 @@
[[outputs.influxdb_v2]]
urls = ["{{ url }}:{{ port }}"]
insecure_skip_verify = true
- token = "{{ authentication.token }}"
+ token = "$INFLUX_TOKEN"
organization = "{{ authentication.organization }}"
bucket = "{{ bucket }}"
[[inputs.cpu]]
@@ -52,6 +52,7 @@
syslog_standard = "RFC3164"
[[inputs.exec]]
commands = [
+ "{{ custom_scripts_dir }}/show_firewall_input_filter.py",
"{{ custom_scripts_dir }}/show_interfaces_input_filter.py",
"{{ custom_scripts_dir }}/vyos_services_input_filter.py"
]