From: Peter Palfrader Date: Tue, 7 Apr 2009 22:30:51 +0000 (+0200) Subject: Let nagios check SA controllers X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=5f2211fba531eff3c5b23bec99efee02468ec4c4;p=mirror%2Fdsa-puppet.git Let nagios check SA controllers --- diff --git a/modules/sudo/files/common/sudoers b/modules/sudo/files/common/sudoers index 4e7bd70c4..e3f193ab1 100644 --- a/modules/sudo/files/common/sudoers +++ b/modules/sudo/files/common/sudoers @@ -35,6 +35,13 @@ root ALL=(ALL) ALL # nagios nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup "" +# with smartarray controllers +nagios ALL=(ALL) NOPASSWD: /usr/bin/arrayprobe "" +nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller all show +nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd all show +nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]\:[0-9] show +nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]I\:[0-9]\:[0-9] show +nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 show status # groups and their role accounts %mirroradm ALL=(archvsync) ALL