Projekt

Allgemein

Profil

Setup logwatch » Historie » Revision 2

Revision 1 (Jeremias Keihsler, 12.01.2017 11:37) → Revision 2/4 (Jeremias Keihsler, 12.01.2017 11:37)

h1. Install Procedure for logwatch 

 h2. Requirements 

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

 h2. Preliminary Note 

 @logwatch@ default setting with CentOS 6 was to send the report per mail as default. This seems to be changed with CentOS 7. 

 h2. Install  

 Install @logwatch@: 

 <pre><code class="bash"> 
 yum install logwatch 
 </code></pre> 

 h2. Configure  

 override default output to stdout by 
 <pre><code class="bash"> 
 vim /etc/logwatch/logwatch.conf 
 </code></pre> 
 <pre> <file logwatch.conf> 
 # Local configuration options go here (defaults are in /usr/share/logwatch/default.conf/logwatch.conf) 
 Output = mail 
 </pre>