ansible-roles/nagios-nrpe/files/nagios_sudoers
Patrick Marchand c28e15231f 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.
2019-05-28 22:57:58 +02:00

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