Difference between revisions of "Logcheck"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
https://salsa.debian.org/debian/logcheck
 
https://salsa.debian.org/debian/logcheck
  
Binaries:
+
== Binaries ==
 
* <code>logcheck</code><ref>https://linux.die.net/man/8/logcheck</ref>
 
* <code>logcheck</code><ref>https://linux.die.net/man/8/logcheck</ref>
 
* <code>[[logtail]]</code>
 
* <code>[[logtail]]</code>
Line 9: Line 9:
  
 
Ubuntu Configuration files
 
Ubuntu Configuration files
* <code>/etc/logcheck/logcheck.conf</code>
+
* <code>/etc/logcheck</code>
 +
* <code>[[/etc/logcheck/logcheck.conf]]</code>
 
  [[grep]] -v "#" /etc/logcheck/logcheck.conf | [[grep]] .
 
  [[grep]] -v "#" /etc/logcheck/logcheck.conf | [[grep]] .
 
  REPORTLEVEL="server"
 
  REPORTLEVEL="server"
Line 18: Line 19:
 
* <code>/etc/logcheck/logcheck.logfiles</code> Files to check
 
* <code>/etc/logcheck/logcheck.logfiles</code> Files to check
 
  /var/log/syslog
 
  /var/log/syslog
  /var/log/[[auth.log]]
+
  /var/[[log]]/[[auth.log]]
  
 +
 +
logcheck
 +
sendmail: fatal: open /etc/postfix/main.cf: No such file or directory
 +
Error closing sendmail: non-zero exit (75) at /usr/bin/mime-construct line 571.
 +
 +
== Related terms ==
 +
* <code>[[fail2ban]]</code>
 +
 +
== Activities ==
 +
* Read https://zeldor.biz/2010/08/configure-logcheck/
  
 
== See also ==
 
== See also ==

Latest revision as of 14:41, 22 November 2020

This article is a Draft. Help us to complete it.

https://salsa.debian.org/debian/logcheck

Binaries[edit]

Ubuntu Configuration files

grep -v "#" /etc/logcheck/logcheck.conf | grep .
REPORTLEVEL="server"
SENDMAILTO="your_mail@your_domain.com"
MAILASATTACH=0
FQDN=1
TMP="/tmp"
  • /etc/logcheck/logcheck.logfiles Files to check
/var/log/syslog
/var/log/auth.log


logcheck
sendmail: fatal: open /etc/postfix/main.cf: No such file or directory
Error closing sendmail: non-zero exit (75) at /usr/bin/mime-construct line 571.

Related terms[edit]

Activities[edit]

See also[edit]

  • https://linux.die.net/man/8/logcheck
  • Advertising: