check_aaccli
Posted on July 15th, 2009 by lausser
Description
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.
Documentation
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)
Installation
- After unpacking the Archive, call the ./configure command. Attention should be paid to the –with-noinst-level option which defines the exit code of the plugin if no aaccli binary was installed.
- Grab the aaccli/aacapps package suitable for your Linux distribution and install it. See the list of links below where to find it.
- If you run check_aaccli as a non-root user you will need sudo-privileges which allow you to call aaccli as root without providing a password.
Examples
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%)
Download
External Links
- aaccli Reference Guide
- Download aacapps. Google for alternatives
- Nagios Homepage
- Nagios Plugins Exchange
- Deutsches Nagios Portal
- Deutsches Nagios Wiki
Changelog
- 2008-05-05 1.1.1 Raid5
- 2007-09-11 1.0 first public version.
Copyright
Gerhard Lausser
Check_aaccli is released under the GNU General Public License. GPL
Author
Gerhard Lausser (gerhard.lausser@consol.de) will gladly answer your questions.
2 Responses to “check_aaccli”
-
Teofila Sauret Says:
January 28th, 2011 at 18:47My wife and i felt so thankful that Michael managed to round up his researching through the ideas he acquired from your own site. It is now and again perplexing just to possibly be offering hints that many most people might have been trying to sell. So we do understand we need the blog owner to be grateful to for this. The main explanations you made, the straightforward website menu, the relationships your site assist to create – it is mostly sensational, and it’s letting our son and us do think the idea is cool, which is certainly extremely indispensable. Thanks for everything!



lausser Reply:
January 28th, 2011 at 18:58
Thank you, thank you, thanky so much. Your comment nearly made my eyes fill with tears.