
Dell
Check Dell PERC Array
Description:
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
Current Version
Last Release Date
June 5, 2009
Compatible With
Owner
Project Files
File | Description |
---|---|
check_perc.pl | check_perc.pl r1700 |
Project Notes
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)
Add a Review
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'))
@@ -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'))
Page Sections
Project Stats
Rating
4.3 (3)
Favorites
2
Views
111,529