[Nottingham] fail2ban + gamin, or tail -f | grep?...
Martin
martin at ml1.co.uk
Wed Aug 13 13:53:05 UTC 2014
Folks,
Just looking up fail2ban: Looks good.
Checking gamin as used by fail2ban: Lockups bugs reported...
(gamin is used as an interface to inotify to notify fail2ban when a
monitored log file changes.)
There's also a few comments about gamin using lots of CPU.
So:
How buggy (or not) is gamin and why is inotify not used directly?
Some of the bugs for gamin are rather old with no activity...
https://bugs.gentoo.org/show_bug.cgi?id=496154
https://bugzilla.gnome.org/show_bug.cgi?id=678813
https://bugs.kde.org/show_bug.cgi?id=323316
Or am I overly negatively selectively searching?...
Or is just as good a method to use:
tail -f /var/log/messages | egrep 'whatever' | bash-script
Cheers,
Martin
--
- ------------------ - ----------------------------------------
- Martin Lomas - OpenPGP (GPG/PGP) Public Key: 0xCEE1D3B7
- martin @ ml1 co uk - Import from hkp://subkeys.pgp.net or
- ------------------ - http:// ml1 .co .uk/martin_ml1_co_uk.gpg
More information about the Nottingham
mailing list