Hi,
after the latest firmware upgrade to a IBM DS 4700, the "Check for the IBM
ds4000 series totalstorage cabinet" stopped working.
I made a small fix to the perl plugin, just 2 lines. To have the plugin
working with the latest cli, make this substitutions:
Line 164
Change
if($line=~/Array status:\s*([^\s]*)/i) {
with
if(($line=~/Array status:\s*([^\s]*)/i) || ($line=~/Status:\s*([^\s]*)/i)) {
Line 167
Change
if(!defined($array_status) || !($array_status=~/online/i)) {
with
if(!defined($array_status) || !(($array_status=~/online/i) ||
($array_status=~/optimal/i))) {
Done, now it should work. The latest upgrade changes the output of cli
messages, that's why the script doesn't work anymore. The fix traps the
old and new status messages.
Hope it helps
Cheers,
Giorgio Zarrelli
------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null