glensc / nagios-plugin-check_raid

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

HP ssacli - #213

Open calestyo opened 2 years ago

calestyo commented 2 years ago

Hey.

From #212, there is some unhandled output from ssacli that check_raid passes on to stdout:

# /usr/lib/nagios/plugins/check_raid
Unhandled: [Warning: Unrecoverable Media Errors Detected on Drives during previous Rebuild ]
Unhandled: [or Background Surface Analysis (ARM) scan. Errors will be fixed automatically]
Unhandled: [when the sector(s) are overwritten. Backup and Restore are recommended.]
Unhandled: [Warning: Unrecoverable Media Errors Detected on Drives during previous Rebuild ]
Unhandled: [or Background Surface Analysis (ARM) scan. Errors will be fixed automatically]
Unhandled: [when the sector(s) are overwritten. Backup and Restore are recommended.]
OK: ssacli:[HPE Smart Array P816i-a SR Gen10[OK]: Array A(OK)[LUN1:OK], Array B(OK)[LUN2:Recovering, 54.28% complete,LUN3:Ready for Rebuild,LUN4:Ready for Rebuild,LUN5:Ready for Rebuild,LUN6:Ready for Rebuild,LUN7:Ready for Rebuild,LUN8:Ready for Rebuild,LUN9:Ready for Rebuild,LUN10:Ready for Rebuild,LUN11:Ready for Rebuild,LUN12:Ready for Rebuild,LUN13:Ready for Rebuild]]

Guess that should be filtered out somehow. All command details given in #212.

Thanks, Chris.