Move nagios sudo privileges from evolix-users to nagios-nrpe role
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.
This commit is contained in:
parent
490708c76d
commit
c28e15231f
5
nagios-nrpe/files/nagios_sudoers
Normal file
5
nagios-nrpe/files/nagios_sudoers
Normal file
|
@ -0,0 +1,5 @@
|
|||
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
|
Loading…
Reference in a new issue