Mercurial > repos > other > Puppet
comparison common/logwatch/dovecot @ 184:ab82c65dcb28 puppet-3.6
Handle Dovecot "logged out" messages in LogWatch
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 14 Dec 2018 19:58:09 +0000 |
parents | c858ca1e01d0 |
children |
comparison
equal
deleted
inserted
replaced
183:ac164022ffb8 | 184:ab82c65dcb28 |
---|---|
256 $Disconnected{"no reason"}++; | 256 $Disconnected{"no reason"}++; |
257 } elsif (($Reason) = ($ThisLine =~ /Disconnected: (.*) \[/) ) { | 257 } elsif (($Reason) = ($ThisLine =~ /Disconnected: (.*) \[/) ) { |
258 $Disconnected{$Reason}++; | 258 $Disconnected{$Reason}++; |
259 } elsif (($Reason) = ($ThisLine =~ /Disconnected: (.*) (bytes|top|in)=.*/) ) { | 259 } elsif (($Reason) = ($ThisLine =~ /Disconnected: (.*) (bytes|top|in)=.*/) ) { |
260 $Disconnected{$Reason}++; | 260 $Disconnected{$Reason}++; |
261 } elsif ($ThisLine =~ /Logged out (rcvd|bytes|top|in)=.*/) { | |
262 $Disconnected{"Logged out"}++; | |
261 } elsif (($Reason) = ($ThisLine =~ /Disconnected \((.*)\):/) ) { | 263 } elsif (($Reason) = ($ThisLine =~ /Disconnected \((.*)\):/) ) { |
262 $Disconnected{$Reason}++; | 264 $Disconnected{$Reason}++; |
263 } elsif (($Reason, $Host) = ($ThisLine =~ /TLS initialization failed/) ) { | 265 } elsif (($Reason, $Host) = ($ThisLine =~ /TLS initialization failed/) ) { |
264 $TLSInitFail++; | 266 $TLSInitFail++; |
265 } elsif (($Host) = ($ThisLine =~ /Aborted login \[(.*)\]/) ) { | 267 } elsif (($Host) = ($ThisLine =~ /Aborted login \[(.*)\]/) ) { |