summaryrefslogtreecommitdiff
path: root/data/templates/monitoring/override.conf.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian.poessinger@rohde-schwarz.com>2022-01-03 17:35:28 +0100
committerGitHub <noreply@github.com>2022-01-03 17:35:28 +0100
commitca3cd970f2973ebfc8c8784ead73bbd582d30d54 (patch)
tree8d53d23723015b51f72e4f259a65176d293fa29b /data/templates/monitoring/override.conf.tmpl
parent4743b91f4eb98bc2b4d5eee1d2f4d06e10ec032e (diff)
parent605cac35526c8dfe409891f777d50547fb94392f (diff)
downloadvyos-1x-ca3cd970f2973ebfc8c8784ead73bbd582d30d54.tar.gz
vyos-1x-ca3cd970f2973ebfc8c8784ead73bbd582d30d54.zip
Merge pull request #1018 from sever-sever/T3872
monitoring: T3872: Add a new feature service 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..63f6d7391
--- /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
+AmbientCapabilities=CAP_NET_RAW CAP_NET_ADMIN