From 5f2211fba531eff3c5b23bec99efee02468ec4c4 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 8 Apr 2009 00:30:51 +0200 Subject: [PATCH] Let nagios check SA controllers --- modules/sudo/files/common/sudoers | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.20.1