User Tools

Site Tools


technical:24.04_logwatch_installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
technical:24.04_logwatch_installation [2024/11/13 18:45] – [Testing] mark_scottworld.nettechnical:24.04_logwatch_installation [2024/11/13 18:56] (current) – [Testing] mark_scottworld.net
Line 160: Line 160:
 Service = -http Service = -http
 Service = -sshd Service = -sshd
 +Service = -pam_unix
 </code> </code>
  
Line 176: Line 177:
 Set the following to change the log file and reporting Set the following to change the log file and reporting
  
-  LogFile = +<code> 
-  LogFile = syslog+LogFile = 
 +LogFile = none 
 +*JournalCtl = "--output=cat --no-pager --unit=smartmontools.service" 
 +</code>
  
-Update the named script to fix issues with gname minimization +Update the named script to fix issues with qname minimization 
  
-  wget -O /etc/logwatch/scripts/services/named  +<code> 
-  https://sourceforge.net/p/logwatch/git/ci/master/tree/scripts/services/named?format=raw +wget -O /etc/logwatch/scripts/services/named https://sourceforge.net/p/logwatch/git/ci/master/tree/scripts/services/named?format=raw 
-  sed -i 's/DoLookup/#DoLookup/' /etc/logwatch/scripts/services/named +sed -i 's/DoLookup/#DoLookup/' /etc/logwatch/scripts/services/named 
-  sed -i -e '/minimization/s/failure/.*/' /etc/logwatch/scripts/services/named +sed -i -e '/minimization/s/failure/.*/' /etc/logwatch/scripts/services/named 
- +</code>
- +
-Update the named script to fix issues with fail2ban loggind  +
- +
-  wget -O /etc/logwatch/scripts/services/fail2ban  +
-  https://sourceforge.net/p/logwatch/git/ci/78a2b812cd1ca2b3fb6e8b22d6cf3b4766c75513/tree/scripts/services/fail2ban?format=raw +
  
 Add a script for NAMED error reporting Add a script for NAMED error reporting
Line 200: Line 199:
 <code> <code>
 LogFile = LogFile =
-LogFile = none +LogFile = syslog 
-*JournalCtl = "--output=cat --no-pager --unit=smartmontools.service" +</code>
- +
-Add a script for OPENVPN error reporting +
- +
-  /etc/logwatch/conf/services/openvpn.conf +
- +
-Set the following to change the log file and reporting+
  
-  LogFile = 
-  LogFile = syslog 
  
technical/24.04_logwatch_installation.1731519903.txt.gz · Last modified: 2024/11/13 18:45 by mark_scottworld.net

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki