Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_hparray-aw

Rating
1 vote
Favoured:
0
Hits
91385
Files:
FileDescription
check_hparray.plplugin
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Checks HP array health (cciss/cpqarray) using hpacucli.
Checks HP array health (cciss/cpqarray) using hpacucli.
Reviews (1)
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))