RAID Controllers

check_hpacucli-diskfailed

Description:

Bash script to check all disks in RAID arrays managed by hpacucli, it will return critical whenever a disk is in failed or in rebuild mode. I’ve noticed that other scripts (check_hparray) will return OK, even though a disk has failed, preventing timely notification to ensure redundancy is maintained.

Current Version

0.1

Last Release Date

2014-02-06

Compatible With

  • Nagios 3.x

Project Files
Project Notes
Usage is very simple, it doesn't need parameters, although you can specify verbosity (-v [1-9]) or debug (-d == -v 9) and -h. It will use hpacucli to list and check all raid controllers and all disks. Any disk which is in failed or rebuild state will show up, it's physical address (slot) listed as well as the serial number of the disk. Any such state will cause CRITICAL to be emitted. WARNING is never emitted. No problem -> OK This is the first release of the script, it has been tested on CentOS 6 and an older Suse, it works for me. Obviously this code is provided without warranty, please read and test the code before installing on your systems!
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
26,686