Re: SF.net SVN: logwatch:[229] scripts/services

"gulikoza" <[email protected]> Tue, 9 Sep 2014 17:44:55 +0200
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Hi,

I'm sorry, the named patch was not merged correctly. Parenthesis should come
after 'refused' before 'resolving', not after 'resolving'.
The error line is:

localhost named[2760]: error (connection refused) resolving
'domain.example.com/A/IN': xxx.xxx.xxx.xxx#53

Regards,
gulikoza

-----Original Message-----
From: [email protected]
[mailto:[email protected]] 
Sent: Tuesday, September 09, 2014 2:13 PM
To: [email protected]
Subject: [Logwatch-devel] SF.net SVN: logwatch:[229] scripts/services

Revision: 229
          http://sourceforge.net/p/logwatch/code/229
Author:   stefjakobs
Date:     2014-09-09 12:12:49 +0000 (Tue, 09 Sep 2014)
Log Message:
-----------
kernel, named: some small regex fixes (Thanks: gulikoza)

Modified Paths:
--------------
    scripts/services/kernel
    scripts/services/named

Modified: scripts/services/kernel
===================================================================
--- scripts/services/kernel	2014-09-09 11:27:00 UTC (rev 228)
+++ scripts/services/kernel	2014-09-09 12:12:49 UTC (rev 229)
@@ -143,7 +143,7 @@
       $SkipError = 1 if $ThisLine =~ /block drbd\d+: Out of sync:
start=\d+/;
       $SkipError = 1 if $ThisLine =~ /block drbd\d+: updated( sync)?
UUIDs?/i;
       $SkipError = 1 if $ThisLine =~ /block drbd\d+: Resync done/;
-      $SkipError = 1 if $ThisLine =~ /block drbd\d+: cs:Ahead rs_left/;
+      $SkipError = 1 if $ThisLine =~ /block drbd\d+: cs:(?:Ahead|Behind)
rs_left/;
       $SkipError = 1 if $ThisLine =~ /block drbd\d+: \d+ % had equal
checksums, eliminated:/;
       $Kernel{$ThisLine}++ if ( (! $SkipError) || ($Detail > 8)) ;
    }

Modified: scripts/services/named
===================================================================
--- scripts/services/named	2014-09-09 11:27:00 UTC (rev 228)
+++ scripts/services/named	2014-09-09 12:12:49 UTC (rev 229)
@@ -191,7 +191,7 @@
       $ZoneExpired{$Zone}++;
    } elsif ( ($Zone) = ( $ThisLine =~ /zone (.+)\: loaded serial/ ) ) {
       $ZoneLoaded{$Zone}++;
-   } elsif ( (undef,$Addr,$Server) = ( $ThisLine =~ /(C|c)onnection refused
resolving '(.+)': (.+)/ ) ) {
+   } elsif ( (undef,$Addr,$Server) = ( $ThisLine =~ /(C|c)onnection refused
resolving\)? '(.+)': (.+)/ ) ) {
       $ConnectionRefused{$Addr}{$Server}++;
    } elsif ( (undef,$Addr,undef,$Server) = ( $ThisLine =~ /ame server
(on|resolving) '(.+)' \(in .+\):\s+(\[.+\]\.\d+)?\s*'?(.+)'?:?/ ) ) {
       $LameServer{$Addr}{$Server}++;

This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.


----------------------------------------------------------------------------
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Logwatch-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/logwatch-devel


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk