This commit adds lsraid output for centos2 and centos3 hosts fixing that part.
However, the plugin is seemingly broken because it expects a single space instead of multiple spaces inside the regex when parsing disk or array status. It also will ignore missing disks as they do not match the regex...
Maybe just get rid of the lsraid plugin completely? I doubt anyone is still using it...
The
lsraid
plugin is marked broken because of missing test data (https://github.com/glensc/nagios-plugin-check_raid/blob/master@%7B2023-10-19T15:05:44Z%7D/lib/App/Monitoring/Plugin/CheckRaid/Plugins/lsraid.pm#L4).This commit adds
lsraid
output for centos2 and centos3 hosts fixing that part.However, the plugin is seemingly broken because it expects a single space instead of multiple spaces inside the regex when parsing disk or array status. It also will ignore missing disks as they do not match the regex...
Maybe just get rid of the
lsraid
plugin completely? I doubt anyone is still using it...