diff --git a/netlog/netlog b/netlog/netlog index d0bf9c8..a5e7abf 100755 --- a/netlog/netlog +++ b/netlog/netlog @@ -124,8 +124,10 @@ sub filter { $proc eq 'GNZ optic' and /BAD!/ and return 'GNZ'; $proc eq 'nachtwaechter' and return 'NACHTWAECHTER'; if ($proc eq 'kernel') { - /3w-9xxx.*ERROR/ and return 'DISKFAIL'; - /3w-9xxx.*Enclosure added|timed out, resetting card/ and return 'CONTROLLERFAIL'; + /3w-(9xxx|sas).*ERROR/ and return 'DISKFAIL'; + /3w-(9xxx|sas).*Enclosure added|timed out, resetting card/ and return 'CONTROLLERFAIL'; + /3w-(9xxx|sas).*Battery is (weak|not present)/ and return 'BBUFAIL'; + /3w-(9xxx|sas).*Battery temperature is (high|too high)/ and return 'BBUTEMP'; # /^Pid:/ and return 'KERNEL'; /I\/O error in filesystem/ and return 'FSCRASH'; /I\/O error, dev/ and return 'FSCRASH';