SF.net SVN: logwatch:[316] trunk/scripts/services/systemd

[email protected] Fri, 12 Feb 2016 16:45:27 +0000
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Revision: 316
          http://sourceforge.net/p/logwatch/code/316
Author:   opoplawski
Date:     2016-02-12 16:45:27 +0000 (Fri, 12 Feb 2016)
Log Message:
-----------
[systemd] Couple more ignored messages, minor cleanup

Modified Paths:
--------------
    trunk/scripts/services/systemd

Modified: trunk/scripts/services/systemd
===================================================================
--- trunk/scripts/services/systemd	2016-02-12 02:04:57 UTC (rev 315)
+++ trunk/scripts/services/systemd	2016-02-12 16:45:27 UTC (rev 316)
@@ -39,10 +39,11 @@
        # These events will be caught with the Unit X entered failed state message
        $ThisLine =~ /^Failed to start / or
        $ThisLine =~ / failed\.$/ or
-       $ThisLine =~ /: (control|main) process exited, code=exited,? status=/ or
+       $ThisLine =~ /: (control|main) process exited, code=(exited|killed),? status=/ or
        # Informational
        $ThisLine =~ /^Closed udev / or
        $ThisLine =~ /^Detected architecture / or
+       $ThisLine =~ /^Found device / or
        $ThisLine =~ /^Got automount request for \/proc\// or
        $ThisLine =~ /^Inserted module / or
        $ThisLine =~ /^Listening on / or
@@ -63,7 +64,8 @@
        # https://bugzilla.redhat.com/show_bug.cgi?id=1306452 
        $ThisLine =~ /^tmp\.mount: Directory \/tmp to mount over is not empty, mounting anyway\.$/ or
        $ThisLine =~ /^Received SIGRTMIN\+2[01] from PID \d+ \(plymouthd\)\.$/ or
-       $ThisLine =~ /^Found device / or
+       # https://bugzilla.redhat.com/show_bug.cgi?id=1072368
+       $ThisLine =~ /^Received SIGRTMIN\+24 from PID \d+ \(kill\)\.$/ or
        $ThisLine =~ /^Removed slice /) {
       # Ignore these
    } elsif (my ($service) = ($ThisLine =~ /^Unit (.*) entered failed state\.$/)) {
@@ -89,7 +91,7 @@
 }
 
 if (keys %Failed) {
-   print "ERROR: Failed to start:\n";
+   print "ERROR: Failed state:\n";
    foreach my $item (sort {$a cmp $b} keys %Failed) {
       print "        $item $Failed{$item} Time(s)\n";
    }

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


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140