The "which" command also depends on the permissions of the RAID utilities E.g. my /usr/sbin/hpacucli had mode 0700 - in order for check_raid to find it, I needed to include /usr/sbin in the PATH and also change the perms on it