Revision: 117
http://logwatch.svn.sourceforge.net/logwatch/?rev=117&view=rev
Author: stefjakobs
Date: 2012-09-25 15:43:35 +0000 (Tue, 25 Sep 2012)
Log Message:
-----------
kernel: catch a lot more messages (Thanks Orion Poplawski)
Modified Paths:
--------------
scripts/services/kernel
Modified: scripts/services/kernel
===================================================================
--- scripts/services/kernel 2012-09-25 14:24:37 UTC (rev 116)
+++ scripts/services/kernel 2012-09-25 15:43:35 UTC (rev 117)
@@ -103,7 +103,7 @@
# Standard boot messages
next if $ThisLine =~ /Giving out device to /;
$EDACs{$1}++;
- } elsif ( ( my $errormsg ) = ( $ThisLine =~ /(.*?[Ee]rror.{0,17})/ ) ) {
+ } elsif ( ( my $errormsg ) = ( $ThisLine =~ /(.*?error.{0,17})/i ) ) {
# filter out smb open/read errors cased by insufficient permissions
my $SkipError = 0;
$SkipError = 1 if $ThisLine =~ /smb_readpage_sync: .*open failed, error=-13/;
@@ -112,14 +112,17 @@
# filter out error_exit in stack traces caused by OOM conditions
$SkipError = 1 if $ThisLine =~ /\[<[\da-f]+>\] error_exit\+0x/;
# These are informative, not errors
+ $SkipError = 1 if $ThisLine =~ /ACPI _OSC request failed \(AE_ERROR\), returned control mask: 0x1d/;
+ $SkipError = 1 if $ThisLine =~ /ERST: Error Record Serialization Table \(ERST\) support is initialized/;
+ $SkipError = 1 if $ThisLine =~ /GHES: Generic hardware error source: \d notified via .* is not supported/;
$SkipError = 1 if $ThisLine =~ /PCIe errors handled by OS/;
- $SkipError = 1 if $ThisLine =~ /GHES: Generic hardware error source: \d notified via .* is not supported/;
# These happen when kerberos tickets expire, which can be normal
$SkipError = 1 if $ThisLine =~ /Error: state manager encountered RPCSEC_GSS session expired against NFSv4 server/ && $Ignore_rpcsec_expired;
$Errors{$errormsg}++ if ( (! $SkipError) || ($Detail > 8));
- }
+ } elsif ( ( my $errormsg ) = ( $ThisLine =~ /((BUG|WARNING|INFO):.{0,40})/ ) ) {
+ $Errors{$errormsg}++;
# OTHER
- else {
+ } else {
# XXX For now, going to ignore all other kernel messages as there
# XXX are practically an infinite number and most of them are obviously
# XXX not parsed here at this time.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.