summaryrefslogtreecommitdiff
path: root/data/templates/monitoring/override.conf.tmpl
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-02-08 15:12:33 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-02-08 15:12:33 +0000
commitb941267395e7a5a8bcb38e3cdac29454ce8b4ea8 (patch)
tree5be9b451a33c2d6e996fa0e36d2e2d857c5014a6 /data/templates/monitoring/override.conf.tmpl
parentc3ba275a16a8985aaa795c36bb11ef7e1985459a (diff)
downloadvyos-1x-b941267395e7a5a8bcb38e3cdac29454ce8b4ea8.tar.gz
vyos-1x-b941267395e7a5a8bcb38e3cdac29454ce8b4ea8.zip
monitoring: T3872: Add tamplates for monitoring
Diffstat (limited to 'data/templates/monitoring/override.conf.tmpl')
-rw-r--r--data/templates/monitoring/override.conf.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/data/templates/monitoring/override.conf.tmpl b/data/templates/monitoring/override.conf.tmpl
new file mode 100644
index 000000000..f8f150791
--- /dev/null
+++ b/data/templates/monitoring/override.conf.tmpl
@@ -0,0 +1,7 @@
+[Unit]
+After=vyos-router.service
+ConditionPathExists=/run/telegraf/vyos-telegraf.conf
+[Service]
+Environment=INFLUX_TOKEN={{ authentication.token }}
+CapabilityBoundingSet=CAP_NET_RAW CAP_NET_ADMIN CAP_SYS_ADMIN
+AmbientCapabilities=CAP_NET_RAW CAP_NET_ADMIN