Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
jahrmando
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))