Aktionen
Setup logwatch » Historie » Revision 1
Revision 1/2
| Weiter »
Jeremias Keihsler, 03.04.2024 17:10
Install Procedure for logwatch¶
Requirements¶
To install logwatch you will need the following:- a installed and supported operating system (e.g. CentOS 9.x)
- root-access
- a fast internet connection
Preliminary Note¶
Install¶
Install logwatch
:
dnf 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
Just for the records: logwatch uses Perl style regexes in ignore.conf
. So look at
man 1 perlre
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 9 Monaten aktualisiert · 1 Revisionen