News for hackers. Stuff that matters.
Re:Ask HN: How do you make sure your servers are up as a sin... by rurp on Wednesday November 06, 2019 @04:03PM (#21467263)
This is a great post, thanks. On your last point, do you mind sharing what you use to monitor the logs and send out alerts?
Re:Ask HN: How do you make sure your servers are up as a sin... by jmstfv on Wednesday November 06, 2019 @04:23PM (#21467495)
I send my logs to Papertrail and they have a feature that will notify you if your logs match a predefined pattern. Some of the patterns that I use:

* Account deletion (DELETE FROM \"accounts\")

* New successful sign up (INSERT INTO "accounts")

* New signup attempt (Started POST "/signup") [0]

* Fatal Exception Error ("fatal" OR "exception" OR "error")

* Warning ("warn")

I do share my costs and tools publicly, in case if you're interested: https://tryhexadecimal.com/costs

[0] I got hit by a botnet attack couple weeks ago, so I keep a tab on their activity (https://news.ycombinator.com/item?id=21327416)