Adrian van Bloois
2019-Nov-21 12:44 UTC
[CentOS] Is there an sshguard script for logwatch?
Hi all, I wonder if there is a script to analyze logfiles for llogwatch and sshguard? Anyone knows? Adrian -- Adri P. van Bloois "Elegance is not a dispensable luxury but a factor that decides between success and failure." Edsger W. Dijkstra
On Thu, 2019-11-21 at 13:44 +0100, Adrian van Bloois wrote:> I wonder if there is a script to analyze logfiles for llogwatch and > sshguard? > Anyone knows?You can take an existing script, for another piece of software reported by Logwatch, retain the beginning and ending parts, and create your own version. The completed script should be placed in /etc to ensure it is not over-written by software updates. It can be difficult sorting-out the names of the different scripts and their directory locations, but I did it despite being unfamiliar with the programming language - Python ? I did it in C5 and C6 for Exim some years ago and the result was ideal for my requirements. Happy Christmas to everyone. Paul. England belongs in the EU ... and no Donald ! England is NOT for sale!
> -----Original Message----- > From: Always Learning > Sent: Thursday, November 21, 2019 4:25 PM > > On Thu, 2019-11-21 at 13:44 +0100, Adrian van Bloois wrote: > > > I wonder if there is a script to analyze logfiles for llogwatch and > > sshguard? > > Anyone knows? > > You can take an existing script, for another piece of software reported > by Logwatch, retain the beginning and ending parts, and create your own > version. The completed script should be placed in /etc to ensure it is > not over-written by software updates.A supplemental RPM will help you with this ...> > It can be difficult sorting-out the names of the different scripts and > their directory locations, but I did it despite being unfamiliar with > the programming language - Python ?There is a logwatch mailing list, I am on it... If you need help authoring it, post there. Logwatch-devel on lists.sourceforge.net> > I did it in C5 and C6 for Exim some years ago and the result was ideal > for my requirements. >v/r, Jason Pyeron