Projekt

Allgemein

Profil

Aktionen

Setup logwatch » Historie » Revision 2

« Zurück | Revision 2/4 (Vergleich) | Weiter »
Jeremias Keihsler, 06.06.2022 16:33


Install Procedure for logwatch

Requirements

To install logwatch you will need the following:
  • a installed and supported operating system (e.g. CentOS 8.x)
  • root-access
  • a fast internet connection

Preliminary Note

Install

Install logwatch:

yum install logwatch

Configure

override default output to stdout by

vim /etc/logwatch/conf/logwatch.conf

# Local configuration options go here (defaults are in /usr/share/logwatch/default.conf/logwatch.conf)
Output = mail

reduce noise in output

see also https://bugzilla.redhat.com/show_bug.cgi?id=1231364#c38

vim /etc/logwatch/conf/ignore.conf

###### REGULAR EXPRESSIONS IN THIS FILE WILL BE TRIMMED FROM REPORT OUTPUT #####
#JKE 2022-06-06
libpod-.*\.scope: (Succeeded|Consumed)
session-.*\.scope: (Succeeded|Consumed)

Von Jeremias Keihsler vor fast 2 Jahren aktualisiert · 2 Revisionen