4 ms·
Just curious: what sort of monitoring software do you use on the server that it notifies you of traffic spikes?
by winter_blue 6y ago
Just curious: what sort of monitoring software do you use on the server that it notifies you of traffic spikes?
- acidburnNSA 6y agoI have a 100-line Python script that I wrote that runs hourly via cron. It scours my apache access log and counts up the number of times each referrer has shown up in the past hour. If it's above a threshold, it emails me with the referrer names in order. So I just get email that basically say: "Hey you're on hacker news" or "Hey check this reddit thread" or whatever.
- winter_blue 6y agoThat's great! It'd be cool if you could put it on Github or something.