Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
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
Owner
Simon Oosthoek
Compatible With
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!
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!