master
conf 24 lines 751 Bytes
Raw
1 # no need for shebang - this file is loaded from charts.d.plugin
2 # SPDX-License-Identifier: GPL-3.0-or-later
3
4 # the data collection frequency
5 # if unset, will inherit the netdata update frequency
6 #libreswan_update_every=1
7
8 # the charts priority on the dashboard
9 #libreswan_priority=90000
10
11 # the number of retries to do in case of failure
12 # before disabling the module
13 #libreswan_retries=10
14
15 # set to 1, to run ipsec with sudo (the default)
16 # set to 0, to run ipsec without sudo
17 #libreswan_sudo=1
18
19 # TO ALLOW NETDATA RUN ipsec AS ROOT
20 # CREATE THE FILE: /etc/sudoers.d/netdata
21 # WITH THESE 2 LINES (uncommented of course):
22 #
23 # netdata ALL = (root) NOPASSWD: /sbin/ipsec whack --status
24 # netdata ALL = (root) NOPASSWD: /sbin/ipsec whack --trafficstatus