- add sudoers configuration example (/etc/sudoers.d/check_bind9) -> both configuration files just contain comments and need to be reviewed/changed by an administrator to their real values. - switch recommend: sudo -> require: sudo - Buildrequire sudo as well to be clear about the directory ownership OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-bind9?expand=0&rev=8
12 lines
499 B
Plaintext
12 lines
499 B
Plaintext
#
|
|
# Please adjust the following to your needs before using in production
|
|
#
|
|
# The path names here and in /etc/nrpe.d/check_bind9.cfg should be
|
|
# identical!
|
|
#
|
|
#nagios,icinga ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_bind9.pl \
|
|
# --pid-path /run/named/named.pid \
|
|
# --stats-path /var/log/named/stats \
|
|
# --rndc-path /usr/sbin/rndc \
|
|
# --sudo-path /usr/bin/sudo
|