SF.net SVN: logwatch:[162] scripts/services/mountd

[email protected]
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Revision: 162
          http://sourceforge.net/p/logwatch/code/162
Author:   stefjakobs
Date:     2013-08-19 10:15:32 +0000 (Mon, 19 Aug 2013)
Log Message:
-----------
mountd: add more information to mounts (thanks gulikoza)

Modified Paths:
--------------
    scripts/services/mountd

Modified: scripts/services/mountd
===================================================================
--- scripts/services/mountd	2013-08-19 10:12:10 UTC (rev 161)
+++ scripts/services/mountd	2013-08-19 10:15:32 UTC (rev 162)
@@ -47,6 +47,10 @@
       $Mount = "      " . $Mount;
       $Attempted{$Name}{$Mount}++;
    }
+   elsif ( ($Name,$Mount) = ($ThisLine =~ /^authenticated (?:un)?mount request from (.+):\d+ for ([^ ]+)/) ) {
+      $Mount = "      " . $Mount;
+      $Mounted{$Name}{$Mount}++;
+   }
    elsif ( ($Name) = ($ThisLine =~ /^authenticated (?:un)?mount request from ([\w:]+)/) ) {
       $Mount = "      unknown";
       $Mounted{$Name}{$Mount}++;

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


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
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.