Gettting multiple logwatch mails


 
Thread Tools Search this Thread
Special Forums Cybersecurity Gettting multiple logwatch mails
# 1  
Old 08-18-2003
Gettting multiple logwatch mails

Hi Guys...

I have a problem of getting multiple LogWatch mails from my box. I have a cron setup to send me (and some other users) Logwatch report mail form our server. I end up getting multiple mails from all the boxes (other users have not complained of this). I cannot figure out why. I have checked the mailllog and it shows only 1 mail being transmitted. I also checked the cron files (did not find any)... and it also has only 1 cron for Logwatch.

Can someone please advice on the reason I am getting these multiple mails?

I am running the server on RH Linux 8.0 and 7.3. ON the client side I am using MS Outlook 2000 (on Windows 98) to down load the mails.

Thanks all...

KS
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Gettting error while executing script

getting error as below while executing script in linux. OS version: Linux VGP-3GPSDB-LX 3.10.0-514.el7.x86_64 #1 SMP Wed Oct 19 11:24:13 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux ./imxtract.sh: line 395: unexpected EOF while looking for matching ``' ./imxtract.sh: line 402: syntax error:... (1 Reply)
Discussion started by: Riverstone
1 Replies

2. Solaris

Sending Mails to the Multiple Email Address

Hi All, I am pretty new to the mail service in Sun Solaris 5.10. If anybody help me in writing a script for the multiple recipient with subject and the body would be a helpful. Kindly help... Thanks in advance. :) Warm Regards, Pramod (5 Replies)
Discussion started by: Pramod_009
5 Replies

3. Shell Programming and Scripting

Not gettting target output using this

i=1 out="_" while do j=0 IN="" while do IN="|"$IN j=`expr $j + 1` done print -n $IN$out i=`expr $i + 1` done Actual O/P: |_||_|||_||||_|||||_Expected O/P: |_ | |_ | | |_ | | | |_ (3 Replies)
Discussion started by: targetshell
3 Replies

4. Red Hat

Ftp gettting disconnected

All, Trying to ftp to a remote ftp server. See following output: ftp -dv xx.xx.xx.xx Connected to xx.xx.xx.xx (xx.xx.xx.xx). 220 Microsoft FTP Service Name (xx.xx.xx.xx:username): ftpuser ---> USER ftpuser 331 Password required for ftpuser. Password: ---> PASS XXXX 230 User logged... (1 Reply)
Discussion started by: Tommyk
1 Replies

5. SuSE

mails not getting sent ...

Guys I have not much idea on suse or any other linux flavour. This is what i have: cat /etc/issue Welcome to SUSE LINUX Enterprise Server 9 (i586) - Kernel \r (\l). ps -ef |grep postfix |grep -v grep root 18620 1 0 Mar17 ? 00:00:00 /usr/lib/postfix/master postfix ... (0 Replies)
Discussion started by: ak835
0 Replies

6. Shell Programming and Scripting

Read a file with in UNIX and send multiple mails

Hi-I want to create a shell script which should read a file line by line (file having email address and transaction id of each user)and send email on email ids with the transaction id of the user respectively. Please help - I think a while loop should help but I am very new too UNIX Shell... (1 Reply)
Discussion started by: DeepSalwan
1 Replies

7. Programming

Gettting statistics/profile of c program in linux

HI, In unix we can get profile on a c program like this :: cc -g -p -o cpp_sw_gsmconverter_shailesh5 cpp_sw_gsmconverter_shailesh5.c prof cpp_sw_gsmconverter_shailesh5 In the same manner how can I collect statistics in linux using gcc command. Thanks in advance. (1 Reply)
Discussion started by: chprvkmr
1 Replies

8. UNIX for Dummies Questions & Answers

Gettting unix.

Where should I go(the site) to get unix? Please tell me! (1 Reply)
Discussion started by: Katan
1 Replies

9. UNIX for Dummies Questions & Answers

gettting disk info from console

Hi all, can someone tell me the easiest was to get disk info from a console. I manage headless servers, and would like to collect the specs on hard drives installed without looking it up through Sun. The boot messages only tell me the size/name e.g. 'Sun36G' I want to know the rotation... (1 Reply)
Discussion started by: mintzy
1 Replies
Login or Register to Ask a Question
LOGWATCH(8)							   User Manuals 						       LOGWATCH(8)

NAME
logwatch - system log analyzer and reporter SYNOPSIS
logwatch [--detail level ] [--logfile log-file-group ] [--service service-name ] [--mailto address ] [--archives] [--range range ] [--debug level ] [--filename file-name ] [--logdir directory ] [--hostlimit hosts ] [--hostname hostname ] [--html_wrap number of characters ] [--hostformat host based options ] [--output output-type ] [--format report format ] [--encode encoding to use ] [--numeric] [--no-old- files-log] [--version] [--help|--usage] DESCRIPTION
Logwatch is a customizable, pluggable log-monitoring system. It will go through your logs for a given period of time and make a report in the areas that you wish with the detail that you wish. Logwatch is being used for Linux and many types of UNIX. OPTIONS
--detail level This is the detail level of the report. level can be a positive integer, or high, med, low, which correspond to the integers 10, 5, and 0, respectively. --logfile log-file-group This will force Logwatch to process only the set of logfiles defined by log-file-group (i.e. messages, xferlog, ...). Logwatch will therefore process all services that use those logfiles. This option can be specified more than once to specify multiple logfile- groups. --service service-name This will force Logwatch to process only the service specified in service-name (i.e. login, pam, identd, ...). Logwatch will there- fore also process any log-file-groups necessary to process these services. This option can be specified more than once to specify multiple services to process. A useful service-name is All which will process all services (and logfile-groups) for which you have filters installed. --mailto address Mail the results to the email address or user specified in address. --range range You can specify a date-range to process. Common ranges are Yesterday, Today, All, and Help. Additional options are listed when invoked with the Help parameter. --archives Each log-file-group has basic logfiles (i.e. /var/log/messages) as well as archives (i.e. /var/log/messages.? or /var/log/mes- sages.?.gz). When used with "--range all", this option will make Logwatch search through the archives in addition to the regular logfiles. For other values of --range, Logwatch will search the appropriate archived logs. --debug level For debugging purposes. level can range from 0 to 100. This will really clutter up your output. You probably don't want to use this. --filename file-name Save the output to file-name instead of displaying or mailing it. --logdir directory Look in directory for log subdirectories or log files instead of the default directory. --hostlimit host1,host2 Limit report to hostname - host1, host2. --hostname hostname Use hostname for the reports instead of this system's hostname. In addition, if HostLimit is set in the logwatch.conf configuration file (see MORE INFORMATION, below), then only logs from this hostname will be processed (where appropriate). --html_wrap num-characters Number of characters that html output should be wrapped to. Default is 80. --numeric Inhibits additional name lookups, displaying IP addresses numerically. --no-oldfiles-log Suppress the logwatch log, which informs about the old files in logwatch tmpdir. --usage Displays usage information --help same as --usage. FILES
/usr/share/logwatch/ This directory contains all the perl executables and configuration files shipped with the logwatch distribution. /etc/logwatch This directory contains local configuration files that override the default configuration. See MORE INFORMATION below for more information. EXAMPLES
logwatch --service ftpd-xferlog --range all --detail high --archives This will print out all FTP transfers that are stored in all current and archived xferlogs. logwatch --service pam_pwdb --range yesterday --detail high This will print out login information for the previous day... MORE INFORMATION
The directory /usr/share/doc/logwatch-* contains several files with additional documentation: HOWTO-Customize-LogWatch Documents the directory structure of Logwatch configuration and executable files, and describes how to customize Logwatch by over- riding these default files. LICENSE Describes the License under which Logwatch is distributed. Additional clauses may be specified in individual files. README Describes how to install, where to find it, mailing lists, and other useful information. AUTHOR
Kirk Bauer <kirk@kaybee.org> http://www.kaybee.org/~kirk ftp://ftp.kaybee.org/pub/redhat/RPMS Linux October 2005 LOGWATCH(8)