summaryrefslogtreecommitdiff
path: root/data/templates/monitoring/override.conf.tmpl
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-02-02 17:58:42 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-02-02 18:03:10 +0000
commitd331da9949060870f0543ac841e533d73e02c079 (patch)
treeebda71aeff10d919f1c90260e570f7c46e0c2b01 /data/templates/monitoring/override.conf.tmpl
parentbf549b34e7daab7e843176bc1c8a8d03148f3840 (diff)
downloadvyos-1x-d331da9949060870f0543ac841e533d73e02c079.tar.gz
vyos-1x-d331da9949060870f0543ac841e533d73e02c079.zip
monitoring: T3872: Fix template input plugin for running services
Add required capability for input scripts which collect statistics of running services
Diffstat (limited to 'data/templates/monitoring/override.conf.tmpl')
-rw-r--r--data/templates/monitoring/override.conf.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/monitoring/override.conf.tmpl b/data/templates/monitoring/override.conf.tmpl
index 63f6d7391..f8f150791 100644
--- a/data/templates/monitoring/override.conf.tmpl
+++ b/data/templates/monitoring/override.conf.tmpl
@@ -3,5 +3,5 @@ After=vyos-router.service
ConditionPathExists=/run/telegraf/vyos-telegraf.conf
[Service]
Environment=INFLUX_TOKEN={{ authentication.token }}
-CapabilityBoundingSet=CAP_NET_RAW CAP_NET_ADMIN
+CapabilityBoundingSet=CAP_NET_RAW CAP_NET_ADMIN CAP_SYS_ADMIN
AmbientCapabilities=CAP_NET_RAW CAP_NET_ADMIN