Re:The quick website launch checklist
by tingletech on Sunday August 14, 2011 @01:06PM
(#2883971)
Sending an email on an error might be a bad idea. We had this set up on a server that powers an API (along with our main site). During a network problem in the data center where the server could not get to the mysql, we had about 10,000 requests on the sever = 10,000 emails = the outlook guys having to reboot the exchange server because of some odd interaction with their spam filtering appliance.
[ Parent
| on HN ]
I have a log that will mail me first time an error occurs. If it happens again, it will still be logged, but I don't get an email. Once I mark the error as resolved - if it happens again, I get an email.
Would you mind sharing how you set this up? That would actually make a great blog post.
I'm afraid I'm too busy to blog at the moment, but the code is here: https://github.com/troelskn/fejlvarp