Skip to content

add bbu check #12

Merged
merged 2 commits into from
Jul 12, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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