Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_hparray-aw
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Checks HP array health (cciss/cpqarray) using hpacucli.
Reviews (1)
byjahrmando, October 12, 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))
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))