Logwatch is a Perl-based log management tool for analyzing, summarizing, and reporting on a server’s log files. It is most often used to send a short digest of server’s log activity to a system administrator.

What are log files? Logs are application-generated files useful for tracking down and understanding what has happened in the past.

Pre-Flight Check
  • These instructions are intended specifically for installing the Logwatch on Ubuntu 12.04 LTS.
  • I’ll be working from a sxi.io Web Core Managed Ubuntu 12.04 LTS server, and I’ll be logged in as root.

Step 1: Install Logwatch

First, you’ll follow a simple best practice: ensuring the list of available packages is up to date before installing anything new.

apt-get -y update

Then let’s install Logwatch and any required packages:

apt-get -y install logwatch

During the install process you may be prompted to configure Postfix:

Go over the options, and then select OK.

Then, you’ll have to select a mail option:

In this case we are going to configure Postfix to send mail locally only; we’ll select the Local only option, and then select OK to continue.

Next we’ll configure the mail name:

Typically the mail name will be the hostname of the server on which you’re installing Logwatch; select Ok to finish the installation.

Step 2: Configuration File Locations

Local Configuration Options can be added in:

/etc/logwatch/conf/logwatch.conf

Default Configuration Options can be found in:

/usr/share/logwatch/default.conf/logwatch.conf

It is best practice to leave the Default Configuration as is, and edit the Local Configuration option, which is under /etc as listed above.

  • Linux: How can I find a file on my system?
  • Migrating to Liquid Web with Managed WordPress Portal
  • Australians can now buy beer in bitcoin at Sydney pub
  • BBVA Blockchain Pilot Cuts Time for International Trade Transactions
  • Upside Break on the Way? Zcash Eyes Gains Against Bitcoin
  • Bitcoin UASF Proposal Quietly Activates – to Little Effect
  • Huobi Exchange’s Plans for Russia Go Well Beyond Crypto Trading
  • Monarch Unveils a Marketplace and Crypto Trading Platform
  • How to install latest kernel on CentOS Linux 7 using yum command
  • Futures Launch Puts Record Bitcoin Highs Back in Play
  • SEC Chair ‘Optimistic’ on Efforts to Catch ICO Bad Guys
  • SegWit Lock-In: What the Tech Milestone Means for Bitcoin
  • BitPay’s Multisig Wallet ‘Copay’ to Leave Beta Today
  • Buying Beer With Bitcoin is Legal in California, Official Says
  • PetroBLOQ Becomes Latest Member of Enterprise Ethereum Alliance
  • SXI LLC Company
    SXI.IO is a global Blockchain software company, specialized in developing white label crypto exchange platforms , Wallet platforms, ICO platforms, Token Erc20 .....
    Fully Managed VPS Fully Managed VPS Fully Managed VPS

    You Might Also Enjoy NewS Post