From 8fbb82b9140b1a7cbeb13380f249c70470739e85 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 7 Jul 2017 11:46:24 +0200 Subject: [PATCH] add bbu check for temp too high and Battery weak and not present and second controller 3w-sas --- netlog/netlog | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/netlog/netlog b/netlog/netlog index d0bf9c80..816166aa 100755 --- a/netlog/netlog +++ b/netlog/netlog @@ -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';