[Last Call] Learn how to a build a cloud-first strategyRegister Now


Logwatch question

Posted on 2006-05-15
Medium Priority
Last Modified: 2010-04-20
How can I do the following task??

Configure Logwatch on your machine according to the following requirements:
• Logwatch should run automatically every 15 minutes
• The reports generated by Logwatch should be emailed to loguser@sysadmin.net.au.
(Note: If you were unable to get this address working in the previous question, then you
may instead have the reports sent directly to user bharat).
• The reports should cover the most recent log entries (as recent as possible).
• The reports should contain the maximum amount of detail (as much as possible).

Question by:jlim95
LVL 14

Expert Comment

ID: 16687628

man logwatch

LVL 14

Accepted Solution

cjl7 earned 1000 total points
ID: 16689530

Set your crontab to run logwatch every 15 minutes...
*/15 * * * * /etc/log.d/scripts/logwatch.pl

edit the /etc/log.d/conf/logwatch.conf
MailTo = root # change to "loguser@sysadmin.net.au"
Range = yesterday # change to "today"
Detail = Low # change to "High"


LVL 12

Expert Comment

ID: 16691031
if you want us to do your homework for you, you should at least not just cut and paste it. Put a little effort forth, man!


Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month17 days, 23 hours left to enroll

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question