FGARWikiMain Page | About | Help | FAQ | Special pages | Log in

Printable version | Disclaimers | Privacy policy

Logcheck

From FGARWiki

Logcheck is installed on the VPS that hosts both this wiki and the Official FreeGeek Arkansas Website. Part of the installation is a cronjob that will send an email to the local "logcheck" account. All of the VPS administrators should be receiving these emails, although the frequency should be low when the system is working correctly.

Without going into to many details which can be found in the Logcheck documentation, files under /etc/logcheck/ignore.server.d list regular expressions that match "normal" log messages. These files are managed as Debian conffiles, so package upgrades will attempt to preserve any modifications.

If we avoid editing existing files, though, we can even better avoid issues when upgrading. The convention in use is either $service-$adminuser or $logfile-$adminuser, e.g. drupal-bss or syslogd-bss.

If you are an administrator and you are receiving too many emails, feel free to add your own files to this directory while following the existing convention covered above. If you are an administrator and are not receiving any emails from Logcheck, please send a test message to the "logcheck" account from the VPS.

/usr/local/sbin/logcheck-test is a script written by Boyd Stephen Smith Jr. that might be useful to test new regular expressions against the log messages you want to consider "normal".

Retrieved from "http://wiki.freegeekarkansas.org/fgar/Logcheck"

This page has been accessed 839 times. This page was last modified on 27 November 2010, at 20:15. Content is available under Attribution-Share Alike 3.0 Unported.


Find

Browse
Main Page
Community portal
Current events
Recent changes
Random page
Help
Edit
View source
Editing help
This page
Discuss this page
New section
Printable version
Context
Page history
What links here
Related changes
My pages
Log in / create account
Special pages
New pages
File list
Statistics
More…