allow nagios to run /usr/lib/nagios/plugins/dsa-check-bacula-lastbackup-wrap on dinis
[mirror/dsa-puppet.git] / modules / sudo / files / sudoers
index 451ce39..f899e3f 100644 (file)
@@ -48,7 +48,7 @@ root  ALL=(ALL) ALL
 # nagios
 nagios         ALL=(ALL)       NOPASSWD: /etc/init.d/ekeyd-egd-linux restart
 nagios         ALL=(ALL)       NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup ""
-nagios         dinis=(ALL)     NOPASSWD: /usr/lib/nagios/plugins/dsa-check-bacula
+nagios         dinis=(ALL)     NOPASSWD: /usr/lib/nagios/plugins/dsa-check-bacula, /usr/lib/nagios/plugins/dsa-check-bacula-lastbackup-wrap
 nagios         ALL=(ALL)       NOPASSWD: /usr/lib/nagios/plugins/dsa-check-filesystems ""
 # with smartarray controllers
 nagios         ALL=(ALL)       NOPASSWD: /sbin/hpasmcli ""
@@ -62,14 +62,6 @@ nagios               ALL=(ALL)       NOPASSWD: /usr/sbin/hpacucli controller slot=[0129] pd [0-9][E
 nagios         ALL=(ALL)       NOPASSWD: /usr/sbin/hpacucli controller slot=[0129] show status
 nagios         franck=(ALL)    NOPASSWD: /usr/sbin/hpacucli controller slot=1 enclosure 1E\:1 show detail
 
-nagios         ALL=(ALL)       NOPASSWD: /usr/bin/setarch x86_64 --uname-2.6 /usr/sbin/hpacucli controller all show
-nagios         ALL=(ALL)       NOPASSWD: /usr/bin/setarch x86_64 --uname-2.6 /usr/sbin/hpacucli controller slot=[0129] pd all show
-nagios         ALL=(ALL)       NOPASSWD: /usr/bin/setarch x86_64 --uname-2.6 /usr/sbin/hpacucli controller slot=[0129] pd [0-9]\:[0-9] show
-nagios         ALL=(ALL)       NOPASSWD: /usr/bin/setarch x86_64 --uname-2.6 /usr/sbin/hpacucli controller slot=[0129] pd [0-9][EIC]\:[0-9]\:[0-9] show
-nagios         ALL=(ALL)       NOPASSWD: /usr/bin/setarch x86_64 --uname-2.6 /usr/sbin/hpacucli controller slot=[0129] pd [0-9][EIC]\:[0-9]\:[0-9][0-9] show
-nagios         ALL=(ALL)       NOPASSWD: /usr/bin/setarch x86_64 --uname-2.6 /usr/sbin/hpacucli controller slot=[0129] show status
-nagios         franck=(ALL)    NOPASSWD: /usr/bin/setarch x86_64 --uname-2.6 /usr/sbin/hpacucli controller slot=1 enclosure 1E\:1 show detail
-
 # other raid controllers
 nagios         powell=(ALL)    NOPASSWD: /usr/local/sbin/areca-cli vsf info
 nagios         puccini=(ALL)   NOPASSWD: /usr/local/bin/tw_cli info c0 u0 status