[Nagios-users] Check RAID Script

Duncan Berriman duncan at dcl.co.uk
Thu Dec 9 11:37:36 UTC 2010

Can't help there as never had that sort of config.

I guess you can use hpacucli to query the shelf so it should just be a
matter of adapting the script to suit (there may already be an option in the

On a simple raid controller direct to disks you get something like following
as a response.

RAID OK: Smart Array 5i in Slot 0 array A logicaldrive 1 (33.9 GB, RAID 1+0,
OK) array B logicaldrive 2 (16.9 GB, RAID 1+0, OK) array C logicaldrive 3
(67.8 GB, RAID 1+0, OK)


-----Original Message-----
From: Sebastian Ries [mailto:Sebastian.Ries at dtnet.de] 
Sent: 09 December 2010 10:11
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Check RAID Script


Am Donnerstag, den 09.12.2010, 09:43 +0000 schrieb Duncan Berriman:
> Use check_cciss (uses hpacucli which must be installed), raid checker 
> for HP.

Thanks, I was also looking for something like this, but:

maintain:/usr/lib/nagios/plugins# ./check_cciss -v RAID OK:  [Controller
Status: OK Cache Status: OK Battery Status: OK Controller Status: OK Cache
Status: Not Configured Battery Status: OK] maintain:/usr/lib/nagios/plugins#
hpacucli controller all show

MSA20 at E0ARMLJ191           (sn: PAAACADMQUUNF7, csn: E0ARMLJ191)
Smart Array 6400              (sn: P57820R9SS32WO)

As the MSA20 is connected to the P6400 this one does not have disks directly

So is it guaranteed that both controllers are checked?
How can I configure which to check?

Sebastian Ries

DT Netsolution GmbH -  Talaeckerstr. 30 -  D-70437 Stuttgart
Tel: +49-711-849910-36               Fax: +49-711-849910-936
WEB: http://www.dtnet.de/     email: Sebastian.Ries at dtnet.de

This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.

More information about the Nagios-users mailing list