- 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
8 lines
362 B
Plaintext
8 lines
362 B
Plaintext
#
|
|
# Below is just an example that need adjustments!
|
|
#
|
|
# Please check/update /etc/sudoers.d/check_bind9 as well, if
|
|
# you decide to use sudo for executing the command
|
|
#
|
|
#command[check_bind]=/usr/bin/sudo /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
|