solaris raidctl

check_raidctl

This Plugin checks the HW raid volumes on Solaris based on following controllers (currently supported by raidctl):

LSI1020 SCSI HBA
LSI1030 SCSI HBA
LSI1064 SAS HBA
LSI1068 SAS HBA

For a proper function you have to install and configure 'sudo'. You have to allow the nagios user the execution of the 'raidctl' command with NOPASSWD.
Depending on your installation it might be also necessary to adapt the path of 'sudo'.
Please check section 'declarations' from script.

If everything has been configured well the script should return something like that:

Volume c3t0d0 OPTIMAL/RAID1, |Disk 0.0.0 GOOD, Disk 0.1.0 GOOD