SF.net SVN: logwatch:[251] trunk/scripts/services/xntpd
[email protected] Thu, 25 Sep 2014 18:30:38 +0000
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
Revision: 251
http://sourceforge.net/p/logwatch/code/251
Author: opoplawski
Date: 2014-09-25 18:30:37 +0000 (Thu, 25 Sep 2014)
Log Message:
-----------
[xntpd] Ignore more startup messages, support newer messages
Modified Paths:
--------------
trunk/scripts/services/xntpd
Modified: trunk/scripts/services/xntpd
===================================================================
--- trunk/scripts/services/xntpd 2014-09-25 18:26:31 UTC (rev 250)
+++ trunk/scripts/services/xntpd 2014-09-25 18:30:37 UTC (rev 251)
@@ -67,6 +67,7 @@
($ThisLine =~ m/tickadj = /) or # startup
($ThisLine =~ m/precision = /) or # startup
($ThisLine =~ m/ (succeeded|failed)/) or # startup
+ ($ThisLine =~ m/sendto\(\S+\): Success/) or # startup
($ThisLine =~ m/kernel time (discipline|sync) status/) or # startup
($ThisLine =~ m/kernel time sync (dis|en)abled /) or # startup
($ThisLine =~ m/frequency initialized/) or # startup
@@ -79,6 +80,8 @@
($ThisLine =~ /Listening on interface .* Disabled/) or
($ThisLine =~ /Listen and drop on /) or
($ThisLine =~ /Listening on routing socket on/) or
+ ($ThisLine =~ /.* interface .* -> \(null\)/) or
+ ($ThisLine =~ /Deferring DNS for/) or
($ThisLine =~ /ntp_io: estimated max descriptors: \d*, initial socket boundary: \d*/) or
($ThisLine =~ /peers refreshed$/) or
($ThisLine =~ /restrict: error in address/) or
@@ -102,7 +105,7 @@
} elsif ( my (undef,$TimeStep) = ($ThisLine =~ /(offset) ([^ ]+) sec/ )) {
push @TimeReset, $TimeStep;
# MEv end no leadin to line
- } elsif ( my ($ListenOn) = ($ThisLine =~ /Listening on interface (.*)(?: Enabled)?/ )) {
+ } elsif ( my ($ListenOn) = ($ThisLine =~ /Listening on interface(?: #\d+)? (.*)(?: Enabled)?/ )) {
$Interfaces{$ListenOn}++;
} elsif ( my ($ListenOn) = ($ThisLine =~ /Listen normally on \d+ (.*)/ )) {
$Interfaces{$ListenOn}++;
@@ -121,7 +124,7 @@
$TwoInst{$name}++;
} elsif ( my ($Error) = ($ThisLine =~ /(no server(s reachable| suitable for synchronization found))/ )) {
$Errors{$Error}++;
- } elsif ( my ($Error) = ($ThisLine =~ /(can't find host \S+|no servers can be used, exiting)/ )) {
+ } elsif ( my ($Error) = ($ThisLine =~ /([Cc]an't find host \S+|no servers can be used, exiting)/ )) {
$Errors{$Error}++;
} elsif ( my ($Error) = ($ThisLine =~ /(sendto\(\S+\): Network is unreachable)/ )) {
$Errors{$Error}++;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk