|
What would be an easy way to receive an email if there are more than 100 unique visitors during the last 15 minutes? |
|
Hi, I'm pretty sure the only way to do this would be to create a script (python, ruby, shell, perl, whatever you are comfortable with) that would parse/tail your ~/logs/frontend/access_site_name.log file looking for the referrer IP address, storing it (once for the first value), discarding the same IP value recurring, then use sendmail when the unique value gets to 100. I don't have any scripts like this, so you'll need to make your own, since I've never needed something like this but it could probably be whipped up fairly quickly. |