summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-23 18:03:08 +0100
committerErich Eckner <git@eckner.net>2019-02-23 18:03:08 +0100
commit842dd40bc565448b787ddaf856c11e78c2b7150f (patch)
treeb1bff383206db2d18652698380f0fae7ee401405
parente66fe8ffe3f862b82085468cff0d6cce87de2bef (diff)
downloadlogwatch-overrides-842dd40bc565448b787ddaf856c11e78c2b7150f.tar.xz
xntpd: ignore "TIME_ERROR" instead of reporting it
-rw-r--r--xntpd3
1 files changed, 1 insertions, 2 deletions
diff --git a/xntpd b/xntpd
index 57ac88a..d7803a9 100644
--- a/xntpd
+++ b/xntpd
@@ -91,6 +91,7 @@ while (defined(my $ThisLine = <STDIN>)) {
($ThisLine =~ /^[0-9a-f:]+ local addr [0-9a-f:]+(%\d+)? -> (<null>|[0-9a-f:]+)$/) or
($ThisLine =~ /^Command line: /) or
($ThisLine =~ /^receive: Unexpected origin timestamp 0x[0-9a-f]+\.[0-9a-f]+ does not match aorg 0+\.0+ from server/) or
+ ($ThisLine =~ /^kernel reports TIME_ERROR: 0x\d+: .*$/ ) or
0 # This line prevents blame shifting as lines are added above
) {
# Ignore these
@@ -144,8 +145,6 @@ while (defined(my $ThisLine = <STDIN>)) {
$Errors{$Error}++;
} elsif ( my ($Error) = ($ThisLine =~ /^(giving up resolving host) / )) {
$Errors{$Error}++;
- } elsif ( my ($Error) = ($ThisLine =~ /^kernel reports (TIME_ERROR: 0x\d+: .*)$/ )) {
- $Errors{$Error}++;
} elsif ( my ($ConfErr) = ($ThisLine =~ /configure: (keyword "[^"]*" unknown, line ignored)/ )) {
$ConfErrs{$ConfErr}++;
} elsif ( my ($ConfErr) = ($ThisLine =~ /line \d+ column \d+ syntax error, (.+)$/ )) {