LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-13-2015, 06:01 AM   #1
abelosorio
LQ Newbie
 
Registered: Jan 2015
Location: Necochea, Buenos Aires, Argentina
Distribution: Debian Jessie 8.0 64bits
Posts: 3

Rep: Reputation: Disabled
How to check a hardware level raid with PERC H710 raid controller?


Hi!

I have a hardware level raid (5) by using PERC H710 controller card.

I want to check periodically raid state and send an email if a problem is found.

I need something like cciss_vol_status HP's utility.


Thanks of advance!

Update:

I used the utility MegaCli, as smalpond said. Here's the command:

megacli -LDInfo -Lall -aALL

My checkRaid script (a plugin for Nagios):

megacli="sudo /usr/sbin/megacli"

state="$( $megacli -LDInfo -Lall -aALL | \
sed -ne 's/^[[:space:]]*State[[:space:]]\+:[[:space:]]\+\(.\+\)$/\1/p' )"

if [ "$state" == "Optimal" ] ; then
echo "RAID state: active/clean"
exit 0
fi

echo "RAID state: $state"
exit 2


That's all!!

Thank you smallpond!

Cheers!

Last edited by abelosorio; 01-21-2015 at 11:22 AM. Reason: [SOLVED]
 
Old 01-13-2015, 09:57 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
LSI RAID has MegaCli.

http://tools.rapidsoft.de/perc/perc-cheat-sheet.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
check hardware raid level ust Linux - Newbie 10 06-14-2012 07:16 PM
kernel support for PERC H200 RAID controller bobhutch Linux - Distributions 2 02-26-2010 03:45 PM
dd and a RAID 5 (perc controller) cygnus-x1 Linux - General 1 09-19-2006 04:32 PM
installing perc 5/e raid controller on fedora 4 jcai Linux - Hardware 0 06-14-2006 01:50 PM
support for PERC 4e/Si RAID controller nik600 Slackware 0 04-27-2006 05:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration