Skip to content

Commit

Permalink
add bbu check for temp too high and Battery weak and not present
Browse files Browse the repository at this point in the history
and second controller 3w-sas
  • Loading branch information
david committed Jul 7, 2017
1 parent 4271a6e commit fe7aefc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions netlog/netlog
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ sub filter {
if ($proc eq 'kernel') {
/3w-9xxx.*ERROR/ and return 'DISKFAIL';
/3w-9xxx.*Enclosure added|timed out, resetting card/ and return 'CONTROLLERFAIL';
/3w-9xxx.*Battery is weak|not present/ and return 'BBUFAIL';
/3w-9xxx.*Battery temperature is high|too high/ and return 'BBUTEMP';
/3w-sas.*ERROR/ and return 'DISKFAIL';
/3w-sas.*Enclosure added|timed out, resetting card/ and return 'CONTROLLERFAIL';
/3w-sas.*Battery is weak|not present/ and return 'BBUFAIL';
/3w-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 fe7aefc

Please sign in to comment.