SF.net SVN: logwatch:[87] scripts/services/secure
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
Revision: 87
http://logwatch.svn.sourceforge.net/logwatch/?rev=87&view=rev
Author: opoplawski
Date: 2012-04-03 15:38:38 +0000 (Tue, 03 Apr 2012)
Log Message:
-----------
Handle request-key: Cannot find command to construct key messages
Modified Paths:
--------------
scripts/services/secure
Modified: scripts/services/secure
===================================================================
--- scripts/services/secure 2012-03-27 15:22:26 UTC (rev 86)
+++ scripts/services/secure 2012-04-03 15:38:38 UTC (rev 87)
@@ -178,6 +178,7 @@
$pwd_file_too_short = 0;
$Executed_app = 0;
$PwdChange = 0;
+$RequestKeyFailures = 0;
%OtherList = ();
use Logwatch ':ip';
@@ -479,6 +480,8 @@
} elsif (($User,$Reason) = ($ThisLine =~ /dovecot-auth: pam_userdb\(dovecot:auth\): user `(.*)' denied access \((.*)\)/)) {
# dovecot-auth: pam_userdb(dovecot:auth): user `bobok' denied access (incorrect password)
$DeniedAccess{"$User,$Reason"}++;
+ } elsif ($ThisLine =~ /^request-key: Cannot find command to construct key/) {
+ $RequestKeyFailures++;
} else {
# Unmatched entries...
$ThisLine =~ s/\[\d+\]:/:/;
@@ -831,6 +834,10 @@
}
+if ($RequestKeyFailures) {
+ print "\nRequest Key Failures (nfs-utils/kernel mismatch): $RequestKeyFailures Time(s)\n";
+}
+
if (keys %OtherList) {
print "\n**Unmatched Entries**\n";
foreach $line (sort {$a cmp $b} keys %OtherList) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev