monitor site IPS

I am sick and tired of my site going down, even know its once in a while it just bother me a lot.
So I spent 20m to write this script and block bad IPs even know I use modeavsive to block more then X concurrent connections from one IP my site keeps going down!

Check if my site is down if so add the bad guy IP to my iptables and e-mail me
I adapted this script for monitoring my local site running lighttpd

Here is the script:

Leave a Reply

Your email address will not be published. Required fields are marked *