syslog notifications?

David Wolfskill david at
Mon Jan 21 05:14:06 PST 2008

On Mon, Jan 21, 2008 at 01:33:07PM +0100, Ivan Voras wrote:
> Hi,
> Before I try to reinvent the wheel, I'd like to hear are there commonly
> used utilities that process syslog logs (e.g. /var/log/messages), grep
> them for some regex and notify configured e-mail addresses, in real time
> (as messages arrive)? I imagine something like that would either do a
> "tail -f" on log files or listen as a syslog filter.

This appears to resemble something of interest:
freebeast(6.3-S)[18] cat /usr/ports/security//swatch/pkg-descr
SWATCH - The Simple WATCHer and filter

Swatch is designed to  monitor  system  activity.   Swatch
requires a configuration file which contains pattern(s) to
look for and action(s) to do when each pattern is found.


Caveat:  I've not used it, though I've seen references to it.

David H. Wolfskill				david at
I submit that "conspiracy" would be an appropriate collective noun for cats.

See for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url :

More information about the freebsd-stable mailing list