glensc / nagios-plugin-check_raid

Nagios/Icinga/Sensu plugin to check current server's RAID status ⛺
144 stars 84 forks source link

arcconf: parse error #203

Closed HOSTED-POWER closed 2 years ago

HOSTED-POWER commented 3 years ago

Output of check_raid -d:

 ./check_raid.pl -d
check_raid 4.0.10
Visit <https://github.com/glensc/nagios-plugin-check_raid#reporting-bugs> how to report bugs
Please include output of **ALL** commands in bugreport

DEBUG EXEC: /sbin/dmsetup status --noflush at ./check_raid.pl line 503.
DEBUG EXEC: /proc/mdstat at ./check_raid.pl line 503.
DEBUG EXEC: /usr/local/bin/arcconf GETSTATUS 1 at ./check_raid.pl line 503.
DEBUG EXEC: /usr/local/bin/arcconf GETCONFIG 1 AL at ./check_raid.pl line 503.
arcconf: parse error:    -------------------------------------------------------- at ./check_raid.pl line 699, <$fh> line 74.
arcconf: parse error:    -------------------------------------------------------- at ./check_raid.pl line 699, <$fh> line 77.
UNKNOWN: arcconf:[Controller:Optimal, Logical Device 0(DATA):Optimal, Drives: ZA27M13L,ZA26YH3Q,ZA26YHAT,ZA26YHMR,ZA26YH5A,ZA26YH3C,ZA26YM8A,ZA26YMBS,ZA26YHDH,ZA26YGZA,ZA26YH46,ZA26YHFF,ZA26YH4Z,ZA26WR4F=Online ZA26J7G0=Ready]

output.txt

HOSTED-POWER commented 3 years ago

Ok I forked it and it works fine now on our raid controllers with arcconf 2.04 and 3.04.

https://github.com/HOSTED-POWER/nagios-plugin-check_raid

If you have time, you could integrate the changes.

glensc commented 3 years ago

@HOSTED-POWER submit your changes as pull request

HOSTED-POWER commented 3 years ago

I did, but I suppose you'll have to skip the readme :)

glensc commented 3 years ago

this is not how the pull requests work. you have to remove the changes from the branch pull request is made from.

MarcusCaepio commented 2 years ago

Hi, so will anything happen here? Having the same issue :) Cheers, Marcus

carnil commented 2 years ago

https://github.com/glensc/nagios-plugin-check_raid/pull/210 should close this issue.