mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Added new IPFire specific monitoring capabilities to Zabbix Agent: - ipfire.ovpn.clients.discovery: Discovery of configured ovpn clients. Returns a JSON array. - ipfire.ovpn.statusreport.get: Parses and returns /var/run/ovpnserver.log in a JSON array Since /var/run/ovpnserver.log is only readable by root, 'cat' of that file is added to sudoers.d/zabbix_agentd. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
12 lines
583 B
Plaintext
12 lines
583 B
Plaintext
# Include file for sudoers file
|
|
#
|
|
# This is needed for some IPFire specific userparameters to be able to execute commands that only run as root (using sudo)
|
|
#
|
|
# DO NOT CHANGE THIS FILE. This file is managed by IPFire, will be overwritten on next addon upgrade and is not
|
|
# included in the backup.
|
|
#
|
|
# To add more sudo rights to zabbix agent, you should modify the sudoers file zabbix_agentd_user
|
|
#
|
|
Defaults:zabbix !requiretty
|
|
zabbix ALL=(ALL) NOPASSWD: /opt/pakfire/pakfire status, /usr/sbin/fping, /usr/local/bin/getipstat, /bin/cat /var/run/ovpnserver.log
|