Hacker News new | ask | show | jobs
by dsr_ 1808 days ago
Active monitoring means you have a program which:

- performs queries, measurements, log anomalies, etc

- collects the data and examines it

- sends alerts via independent channels when appropriate

For example, you might have an end-to-end query that is a curl call to an authenticated API which returns the free space allocated to a database table. When conducted from a host outside your network, this tests all of:

- reachability of your service

- minimum performance of your service

- availability of your database

You then need to establish what the normal values look like, so that you can send an alert when the range is exceeded in a bad way. Do something like this for everything critical.

You can also do negative checks: run a job that pushes some tiny amount of data to your monitor once a minute. If you haven't received a push in the last 90 seconds, send an alert.

If you host your service on cloud A, use a different cloud to run the performance checks. If you use Gmail for email, use another service to send alerts.