SF.net SVN: logwatch:[99] scripts/services/dhcpd

[email protected]
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Revision: 99
          http://logwatch.svn.sourceforge.net/logwatch/?rev=99&view=rev
Author:   stefjakobs
Date:     2012-04-16 15:35:32 +0000 (Mon, 16 Apr 2012)
Log Message:
-----------
dhcpd: report if client has duplicate leases

Modified Paths:
--------------
    scripts/services/dhcpd

Modified: scripts/services/dhcpd
===================================================================
--- scripts/services/dhcpd	2012-04-16 15:18:54 UTC (rev 98)
+++ scripts/services/dhcpd	2012-04-16 15:35:32 UTC (rev 99)
@@ -193,6 +193,10 @@
       if ($Detail >= 3) {
          $data{'Duplicate lease'}{$line}++;
       }
+   } elsif ($line =~ /^client [a-f0-9:]{18} has duplicate leases on/) {
+      if ($Detail >= 3) {
+         $data{'Duplicate lease'}{$line}++;
+      }
    } elsif ($line =~ /^DHCPDISCOVER from .* via \S+: (.*): no free leases/) {
       $data{'No Free Leases'}{$1}++;
    } elsif ($line =~ /^DHCPDISCOVER from .* via (\S+): unknown network segment/) {

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


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
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.