Skip to content

Extra rules for logcheck http://logcheck.org/ that clean up your inbox by adding some opinionated/sensible rules

Notifications You must be signed in to change notification settings

TheCreeper/logcheck-extrarules

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Testing rules

When developing a regex you probably need to test it more ofthen than you want.

Console

Use the following line to test the logcheck regular expressions. Relevant logfiles (which logcheck checks) are /var/log/auth.log and /var/log/syslog

sed -e 's/[[:space:]]*$//' /var/log/syslog | egrep ''

The documentation at bluelightav.org uses a different method. The regex is stored in a file to prevent possible mangling by the shell;

  • save the regex in [file]
  • egrep --file [file] /var/log/syslog

Contributions

This repository contains rules contributed by others. If you want a rule to be added or consider some rules too lenient, please let me know. These logcheck rules keep my inbox (a bit) quieter.

Contributions by:

  • asgh
  • felixvictor
  • TheCreeper (pull request, and his fork have been merged into this repo)
  • ties

About

Extra rules for logcheck http://logcheck.org/ that clean up your inbox by adding some opinionated/sensible rules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published