Setup logwatch » Historie » Version 1
Jeremias Keihsler, 12.01.2017 11:37
1 | 1 | Jeremias Keihsler | h1. Install Procedure for logwatch |
---|---|---|---|
2 | |||
3 | h2. Requirements |
||
4 | |||
5 | To install logwatch you will need the following: |
||
6 | * a installed and supported operating system (e.g. CentOS 7.x) |
||
7 | * root-access |
||
8 | * a fast internet connection |
||
9 | |||
10 | h2. Preliminary Note |
||
11 | |||
12 | @logwatch@ default setting with CentOS 6 was to send the report per mail as default. This seems to be changed with CentOS 7. |
||
13 | |||
14 | h2. Install |
||
15 | |||
16 | Install @logwatch@: |
||
17 | |||
18 | <pre><code class="bash"> |
||
19 | yum install logwatch |
||
20 | </code></pre> |
||
21 | |||
22 | h2. Configure |
||
23 | |||
24 | override default output to stdout by |
||
25 | <pre><code class="bash"> |
||
26 | vim /etc/logwatch/logwatch.conf |
||
27 | </code></pre> |
||
28 | <file logwatch.conf> |
||
29 | # Local configuration options go here (defaults are in /usr/share/logwatch/default.conf/logwatch.conf) |
||
30 | Output = mail |
||
31 | </pre> |