1 7.1 Using logwatch
Asif Bacchus edited this page 2020-05-24 03:28:21 -06:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using logwatch to monitor your backups

The backup script's log file has been set up so that utilities like Logwatch can easily parse it. In order to make that happen, a LogFile Group file, Service and Script have to be created for Logwatch to generate reports. The correct (general) directory structure has been created in this git archive already. Below are the details of each file.

If you don't care about how it works, you can simply copy the /etc/logwatch/ folder in this repo to your Logwatch configuration directory (/etc/logwatch/ by default). Everything is already in the proper directory structure for a default Debian/Ubuntu installation.

If you need help installing or setting up Logwatch, please see my blog at https://mytechiethoughts.com and search for logwatch'. These instructions assume you already have Logwatch setup correctly. The following pages in this wiki section will go though each configuration file and the relevant settings.