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 script).
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) Duncan -----Original Message----- From: Sebastian Ries [mailto:[email protected]] Sent: 09 December 2010 10:11 To: [email protected] Subject: Re: [Nagios-users] Check RAID Script Hi 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 connected. So is it guaranteed that both controllers are checked? How can I configure which to check? Regards 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: [email protected] ---------------------------------------------------------------------------- -- This SF Dev2Dev email is sponsored by: WikiLeaks The End of the Free Internet http://p.sf.net/sfu/therealnews-com _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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. ------------------------------------------------------------------------------ This SF Dev2Dev email is sponsored by: WikiLeaks The End of the Free Internet http://p.sf.net/sfu/therealnews-com _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
