LinuxQuestions.org
Visit Jeremy's Blog.
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, 07: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 12:22 PM. Reason: [SOLVED]
 
Old 01-13-2015, 10:57 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 & 7
Posts: 3,270

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

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:16 PM
kernel support for PERC H200 RAID controller bobhutch Linux - Distributions 2 02-26-2010 04:45 PM
dd and a RAID 5 (perc controller) cygnus-x1 Linux - General 1 09-19-2006 05:32 PM
installing perc 5/e raid controller on fedora 4 jcai Linux - Hardware 0 06-14-2006 02:50 PM
support for PERC 4e/Si RAID controller nik600 Slackware 0 04-27-2006 06:20 PM

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

All times are GMT -5. The time now is 10:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration