Random Project

check_cciss_1.14 looksfor /usr/sbin/hpssacli but ssacli installs as /usr/sbin/ssacli

Workaround:
$ sudo ln -s /usr/sbin/ssacli /usr/sbin/hpssacli

Also, the script notes that /etc/sudoers should contain:
nagios ALL=NOPASSWD: /usr/sbin/hpacucli, /usr/sbin/hpssacli

For RHEL7 nrpe package at least this should be:
nrpe ALL=NOPASSWD: /usr/sbin/hpacucli, /usr/sbin/hpssacli

If you adapt the script to check for ssacli instead of or in addition to hpssacli of course you also need to change the /etc/sudoers entry.
Lastly, it’s good practice to use a separate /etc/sudoers.d/ssacli file instead of changing the main /etc/sudoers file.