glensc / nagios-plugin-check_raid

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

Test data for lsraid #224

Closed ixs closed 6 months ago

ixs commented 10 months ago

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...