Hi,
your script works great on the local machine but when I try it on the nagios server with nrpe, I have this message :
RAID UNKNOWN - /usr/sbin/hpacucli did not execute properly : sudo: sorry, you must have a tty to run sudo
Could you help me to resolve this ?