diff options
Diffstat (limited to 'conf.d/charts.d/libreswan.conf')
-rw-r--r-- | conf.d/charts.d/libreswan.conf | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/conf.d/charts.d/libreswan.conf b/conf.d/charts.d/libreswan.conf new file mode 100644 index 0000000000..4ea67ae48f --- /dev/null +++ b/conf.d/charts.d/libreswan.conf @@ -0,0 +1,25 @@ +# no need for shebang - this file is loaded from charts.d.plugin + +# netdata +# real-time performance and health monitoring, done right! +# (C) 2018 Costa Tsaousis <costa@tsaousis.gr> +# GPL v3+ +# + +# the data collection frequency +# if unset, will inherit the netdata update frequency +#libreswan_update_every=1 + +# the charts priority on the dashboard +#libreswan_priority=90000 + +# set to 1, to run ipsec with sudo (the default) +# set to 0, to run ipsec without sudo +#libreswan_sudo=1 + +# TO ALLOW NETDATA RUN ipsec AS ROOT +# CREATE THE FILE: /etc/sudoers.d/netdata +# WITH THESE 2 LINES (uncommented of course): +# +# netdata ALL = (root) NOPASSWD: /sbin/ipsec whack --status +# netdata ALL = (root) NOPASSWD: /sbin/ipsec whack --trafficstatus |