[project @ peter@palfrader.org-20080808214422-2z9kfc5wh78nbx6x]
[mirror/dsa-nagios.git] / dsa-nagios-nrpe-config / debian / postinst
index 2173952..3f0c530 100644 (file)
@@ -58,6 +58,8 @@ if [ -e /usr/sbin/hpacucli ] && [ -e /dev/cciss/c0d0 ] ; then
                echo 'nagios  ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 show status'
                echo
        elif ! grep '^nagios.*hpacucli.* pd .*:.* show' /etc/sudoers > /dev/null; then
+               echo
+               echo 'WARNIG: Add these lines to sudoers:'
                echo 'nagios  ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]\:[0-9] show'
                echo 'nagios  ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]I\:[0-9]\:[0-9] show'
        fi