check_aaccli is a plugin für Nagios, which checks the health of Adaptec SCSI Raid Controllers (which may identify themselves also as IBM ServeRAID). This is accomplished by using the aaccli command, which must be installed. The plugin checks the health of single disks (S.M.A.R.T) and containers of type "Mirror". Stripes are not supported.
Usually the plugin is called without any parameters:
nagios$ check_aaccli OK - no problems (4 disks, 2 containers)
For debugging purposes it can be called with the -v option. It will then output the detailed status of each checked component.
nagios$ check_aaccli -v collecting controller informations calling sudo -S /sbin/aaccli controller list calling sudo -S /sbin/aaccli open /readonly aac0 : disk show smart /full calling sudo -S /sbin/aaccli open /readonly aac0 : container list /full checking controller aac0 checking disk 0:0:0 checking disk 0:2:0 checking disk 0:3:0 checking disk 0:1:0 checking mirror 255 checking mirror 254 OK - no problems (4 disks, 2 containers)
More examples for different error conditions:
Self-Diagnosis of a disk warns about imminent failure:
nagios$ check_aaccli WARNING - disk 0:1:0 s.m.a.r.t counts 2221 errors A Mirror half has failed:
A Mirror half has failed:
nagios$ ./check_aaccli CRITICAL - mirror 255 broken
Failed mirror half was replaced:
nagios$ ./check_aaccli WARNING - mirror 255 rebuilding (39%)
Gerhard Lausser
Check_aaccli is released under the GNU General Public License. GPL
Gerhard Lausser (gerhard.lausser@consol.de) will gladly answer your questions.