search for: thisline

Displaying 8 results from an estimated 8 matches for "thisline".

2005 Apr 15
2
Logwatch
...(pop3-login|pop3d-ssl|pop3d|spop3d) *RemoveHeaders = --- /etc/log.d/scripts/services/pop3 2005-04-15 15:15:28.727123168 -0400 +++ /etc/log.d/scripts/services/pop3 2005-04-15 15:03:47.402606350 -0400 @@ -58,6 +58,8 @@ # Don't care about these... } elsif ( ($User, $Host) = ( $ThisLine =~ /^user (.*?) authenticated - (.*)$/ ) ) { $Login{$User}{$Host}++; + } elsif ( ($User, $Host) = ( $ThisLine =~ /Login: (.*?) (\[.*\])/ ) ) { + $Login{$User}{$Host}++; } elsif ( ($User,$Downloaded,$DownloadSize,$Left,$LeftSize) = ( $ThisLine =~ /^Stats: (.*?) (.*?) (.*?) (.*?)...
2015 Sep 15
1
CentOS-6 - LogWatch
On Mon, September 14, 2015 21:28, Always Learning wrote: > > On Mon, 2015-09-14 at 14:51 -0400, James B. Byrne wrote: > >> The Logwatch imapd service script distributed with CentOS-6 does not >> generate anything when I run logwatch --service all on a cyrus-imapd >> host. Is this expected behaviour? Is there a separate script for >> cyrus-imapd or are their
2015 Sep 17
0
CentOS-6 - LogWatch Cyrus-IMAPD script was CentOS-6 - LogWatch
...; *OnlyService = (imaps|lmtpunix) # > *RemoveHeaders = # # based on Sebastian Hagedorn <Hagedorn at uni-koeln.de> 2004 ################################################################### $Detail = $ENV{'LOGWATCH_DETAIL_LEVEL'}; # # Process log file on stdin # while ( defined( $ThisLine = <STDIN> ) ) { chomp( $ThisLine ); use feature "switch"; given( $ThisLine ) { when ( /accepted connection/ ) { # Ignore } when ( /^badlogin: (.+) \[(.+)\] (\w+) (.+) (SASL.*authentication failure:.+)/ ) { #print( "Bad Login: " . $ThisLine ....
2007 Sep 24
3
Trouble using backgroundrb
...tem.count System.find_all.each do |sys| getAndParsePasswdFile(sys.name) @progress += @progressinterval end end def getAndParsePasswdFile(sys) output = %x[some command-line-magic ;)] output.each do |outputline| outputline = outputline.split(":") thisline = Passwdentry.new thisline.setvalues(outputline[0], sys, outputline[2]); thisline.save end end end Passwd::GetPasswdsWorker.register --------------------app/views/passwd/index/createReport.rhtml-------------------- <h2>De database wordt voorzien van de laatste data.</h2&...
2010 Nov 06
1
Logwatch not working properly
...------------ SSHD End ------------------------- Looking at file /usr/share/logwatch/scripts/services/sshd there is block of code starting at line 165: ... if ( $Debug >= 5 ) { print STDERR "\n\nDEBUG: Inside SSHD Filter \n\n"; $DebugCounter = 1; } while (defined(my $ThisLine = <STDIN>)) { if ( $Debug >= 5 ) { print STDERR "DEBUG($DebugCounter): $ThisLine"; $DebugCounter++; } ... >From above, this line never prints anything: print STDERR "DEBUG($DebugCounter): $ThisLine"; while the previous print STDERR does print whe...
2011 Jun 20
1
Quote the path of graphics output in Sweave when it contains spaces
...f (grepl("[[:space:]]", chunkprefix)) + chunkprefix = shQuote(chunkprefix, type = "cmd") cat("\\includegraphics{", chunkprefix, "}\n", sep = "", file = object$output) linesout[thisline + 1L] <- srcline Thanks! Regards, Yihui -- Yihui Xie <xieyihui at gmail.com> Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA
2013 Jan 18
1
5.9 logwatch yum filter broken
...1:0.9-5.el5 ---------------------- yum End ------------------------- ###################### Logwatch End ######################### [root at dns01 ~]# >8-------->8-------->8-------->8-------->8-------->8-------->8-------- Looking at the script I find the line 22 $ThisLine =~ s/^[^ ]* [^ ]* //; which looks like its intention was to strip the timestamp from the logfile entry, but the DEBUG output shows it has already been stripped at this point. And a minor nit: who came up with the silly idea of enforcing mode 600 for /var/log/yum.log in /etc/logrotate.d/yum? I don...
2003 Nov 18
4
logwatch
Hi All, I need to be able to make sense from my shorewall logs. I have installed logwatch and it is mailing me reports but the level of detail is just not there. I have set the detail variable to High=10 but I get entries only from the DNS service about denied updates. What am I getting wrong? Tom, will you be kind enough to send me your logwatch config files? Thanks in advance. Ama