Swatch: The Simple Log Watcher
You’ll always know what time it is with swatch, a real time monitoring tool for your logs.
Swatch isn’t a cleverly designed watch from the 1980s but you’ll think it’s just as handy (and cleverly designed) as one. Like Logwatch, swatch is a perl script that watches your logs but swatch watches them for regular expressions that you configure. Swatch will notify you via mail or the console screen (stdout) when it matches the configured log file entries with your watchfor directives. Swatch picks up and delivers messages as intrusions occur so that you can halt any potential breakins or hacks before the intruder does any damage. It is one of the most important defensive weapons in your system administrator arsenal.
The Basics
The Swatch Project page is the first place you need to visit so that you can grab the source code and get started. If you’re lucky, your distribution will have a pre-built package for you to install. Packaged version or not,…
Please log in to view this content.
Read More
- The State of Open Source System Automation
- Are You Expecting? Your Boss Should Know
- The Persistence of Time
- NTP: Timing is Everything
- Disk Space: The Final Frontier
|