c28e15231f
The nagios-nrpe role does not depend on the evolix-users role but the sudo privileges the role requires to function are in the evolix-users sudoers template. This commit moves those privileges over to the /etc/sudoers.d/nagios file. This new task is part of the nagios-nrpe role.
5 lines
358 B
Plaintext
5 lines
358 B
Plaintext
nagios ALL = NOPASSWD: /usr/lib/nagios/plugins/check_procs
|
|
nagios ALL = NOPASSWD: /usr/local/lib/nagios/plugins/check_minifirewall
|
|
nagios ALL = NOPASSWD: /usr/local/lib/nagios/plugins/check_haproxy_stats
|
|
nagios ALL = NOPASSWD: /usr/sbin/bkctld check
|
|
nagios ALL = (clamav) NOPASSWD: /usr/bin/clamscan /tmp/safe.txt |