Home   Help Login Register  
Welcome, Guest. Please login or register.

Login with username, password and session length

Search
Pages: [1]
Print
Topic: Configure Logwatch on the Central Log Server  (Read 1032 times)
0 Members and 1 Guest are viewing this topic.
« on: December 10, 2009, 03:29:08 PM »
Janak
Administrator
Full Member

View Profile
*****
Posts: 119



logwatch is system log analyzer and reporter. 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. Logwatch will separate entries by hostname, if you set SplitHosts to yes. Make sure the option MultiEmail is set to no in order to send a single e-mail message.

You need to edit the /etc/logwatch/conf/logwatch.conf file on the central log server. Edit the file using vi text editor,

enter:

# vi /etc/logwatch/conf/logwatch.conf


Update / add settings as follows:

SplitHosts = yes
HostLimit = no
MultiEmail = no

Disable Logwatch On Other Servers

you have a central logserver which has been configured to report on logs received from all systems. You need to disable logwatch cron job on on all other boxes:

# mv /etc/cron.daily/0logwatch /path/to/backup

Alternatively, you can simply remove the logwatch package:

# rpm -e logwatch

Thanks!
Logged

Pages: [1]
Print
Jump to:  

� 2006 VPS forum, VPS hosting forums, VPS discussions, VPS web hosting solutions, issues, providers, virtual web hosting questions, VPS hosting
Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC | Forum style designed by PixelSlot
| Sitemap - XML Sitemap