Koozali.org: home of the SME Server

Obsolete Releases => SME 8.x Contribs => Topic started by: guyou on June 29, 2014, 02:39:00 PM

Title: Monitoring denyhosts activity
Post by: guyou on June 29, 2014, 02:39:00 PM
Hi all,

In order to monitor the denyhosts activity, I retrieve and adapt a small script around RRD. With it, I'm able to give an eye on the number of denied IP for the last 24 hours, the last week, the last month or the last year.

But now, I wish to integrate this report in the server-manager web interface. And as I'm currently a simple SME user, I don't know how to proceed.

For example, my first question is: where to integrate this report, in sme8contrib or denyhost page?

Other question is: how to contrib such patch?

Thanks in advance for any suggestion and help.
Title: Re: Monitoring denyhosts activity
Post by: stephdl on June 29, 2014, 04:22:46 PM
interesting questions :)

probably the better way could be to integrate this report directly in the contrib which has fill the datas, I mean smeserver-denyhost. you should direct your questions to the creator of the contrib, Jean-Philippe Pialasse (tests@pialasse.com)

The source of that rpm can be found at http://mirror.pialasse.com/releases/8.1/smecontribs/SRPMS/smeserver-denyhosts-2.7-2.el5.sme.src.rpm but you need to install it on your smeserver
This how i did before directly on a smeserver (you can use a virtual smeserver) https://geekeries.de-labrusse.fr/?p=2004. Now I use Git and mock.

I do not have a lot of  answers for  developing what you want to do, I would suggest that you read the code of sme8admin on how you could do the job, but it is a really old contribs and it is not the standard way to do stuff in a modern way.

Anyway if can help, simply ask