Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Check Dell PERC Array

Rating
3 votes
Favoured:
2
Hits
105352
Files:
FileDescription
check_perc.plcheck_perc.pl r1700

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

Using Net::SNMP, this script checks the channel state, global state and disk states of a PERC RAID array on a server running Dell's OpenManage
Requires Net::SNMP Perl Module on the Nagios server.
Requires Dell OpenManage software to be running on the target server.

Checks the global status of the "Storage" section in OpenManage. Checks the status of the controller channel. And finally loops through all of the disks in the array and reports their status.

Update includes extra logic for PERC battery's that are constantly recharging, reports a warning in stead of critical.
Reviews (1)
bybva, September 11, 2011
1 of 1 people found this review helpful
A little fix to force return of WARNING if GlobalState report only a WARNING.


@@ -322,9 +322,9 @@

if ($GlobalState[1] ne 'NORMAL') {

- if ($GlobalState[1] eq 'WARNING')
+ if ($GlobalState[3] eq 'OK')
{
- $WorstState = 'WARNING';
+ $WorstState = 'CRITICAL';
}
# Battery State Check
elsif ((($GlobalState[3] eq 'RECONDITIONING') || ($GlobalState[3] eq 'CHARGING') || ($GlobalState[3] eq 'LOW')) && ($GlobalState[1] ne 'CRITICAL'))