This is the output that I get in XI when I wrap the arguments in single quotes:
Code: Select all
UNKNOWN - Unisphere CLI returned an error, unable to perform check.
UNKNOWN - ssd module not detectedCode: Select all
UNKNOWN - Unisphere CLI returned an error, unable to perform check.
UNKNOWN - ssd module not detectedWe don't have this system, but looking at the script this is not returning properlyPlease send all comments/feedback to the author, Charles Bender, at [email protected]
Code: Select all
$ucli -silent -d $host -user $user -password $password $check_path show -output csv > $tempCode: Select all
echo "$ucli -silent -d $host -user $user -password $password $check_path show -output csv"Code: Select all
echo $?Code: Select all
/opt/emc/uemcli/bin/uemcli -silent -d 192.168.103.2 -user nagios -password C0rnell? /env/ssd show -output csv
0
UNKNOWN - ssd module not detectedCode: Select all
sudo su nagios -c '/opt/emc/uemcli/bin/uemcli -silent -d 192.168.103.2 -user nagios -password C0rnell? /env/ssd show -output csv && echo $?'Code: Select all
sudo$USER1$/check_vnxe.sh '192.168.103.2' '******' '********' 'ssd'