mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-05 03:18:00 +02:00
zabbix_agentd: Add ovpn monitoring items
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>
This commit is contained in:
committed by
Michael Tremer
parent
19a8ad39ef
commit
62e2bf5b82
@@ -8,4 +8,4 @@
|
||||
# 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
|
||||
zabbix ALL=(ALL) NOPASSWD: /opt/pakfire/pakfire status, /usr/sbin/fping, /usr/local/bin/getipstat, /bin/cat /var/run/ovpnserver.log
|
||||
|
||||
Reference in New Issue
Block a user