mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
- Adds Zabbix Agent userparameter `ipfire.services.get` for the agent to get details about configured IPFire services (builtin and addon-services) - Includes `ipfire_services.pl` script in sudoers for Zabbix Agent as it needs root permission to call addonctrl for addon service states. - Adapts lfs install script to install new script - Adds new script to rootfiles Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
14 lines
753 B
Plaintext
14 lines
753 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
|
|
zabbix ALL=(ALL) NOPASSWD: /var/ipfire/zabbix_agentd/scripts/ipfire_certificate_detail.sh
|
|
zabbix ALL=(ALL) NOPASSWD: /var/ipfire/zabbix_agentd/scripts/ipfire_services.pl
|