Allow nagios to run dsa-check-libs under sudo
authorPeter Palfrader <peter@palfrader.org>
Tue, 27 Jan 2015 23:15:52 +0000 (00:15 +0100)
committerPeter Palfrader <peter@palfrader.org>
Tue, 27 Jan 2015 23:15:52 +0000 (00:15 +0100)
modules/sudo/files/sudoers

index d9e755d..5ca2a3c 100644 (file)
@@ -56,6 +56,7 @@ nagios                ALL=(ALL)       NOPASSWD: /usr/sbin/service ekeyd-egd-linux restart
 nagios         ALL=(ALL)       NOPASSWD: /usr/sbin/service samhain restart
 nagios         ALL=(ALL)       NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup ""
 nagios         ALL=(ALL)       NOPASSWD: /usr/lib/nagios/plugins/dsa-check-filesystems ""
+nagios         ALL=(ALL)       NOPASSWD: /usr/lib/nagios/plugins/dsa-check-libs ""
 # with smartarray controllers
 nagios         ALL=(ALL)       NOPASSWD: /sbin/hpasmcli ""
 nagios         ALL=(ALL)       NOPASSWD: /usr/bin/arrayprobe ""