RAID Controllers

check_hparray-aw

Description:

Checks HP array health (cciss/cpqarray) using hpacucli.

Current Version

Last Release Date

June 11, 2009

Compatible With


Project Files
Project Notes
Checks HP array health (cciss/cpqarray) using hpacucli.
Reviews (1) Add a Review
Option-d does not accept the value 0
by jahrmando, October 31, 2012
I found a small bug in the script, the option-d does not accept the value 0, on certain occasions the slot has assigned that ID.

Error:
[]$ sudo perl /usr/local/nagios/libexec/check_hparray.pl -d 0
ERROR Missing controller slot number - did you pass anything to -d?

Fix:
I changed the line 56.

Before the change:
if(! $opt_controller)

After the change:
if(!defined($opt_controller))
Helpful? Yes  No 
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
4 (1)
Favorites
0
Views
91,719