Skip to content

Commit

Permalink
Merge pull request #12 from mariux64/bbu_check
Browse files Browse the repository at this point in the history
add bbu check
  • Loading branch information
donald authored Jul 12, 2017
2 parents 4271a6e + 62be7c1 commit fa69748
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions netlog/netlog
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit fa69748

Please sign in to comment.