[Systems] Docker alerting

Sam P. sam at sam.today
Sun Aug 2 04:19:25 EDT 2015


Hi All,

I was looking around for docker alerting software, and it is few and far
between (in the self hosted world).  But one very nice looking package was
prometheus.io.

So it is a time series data tool that integrates with cAdvisor (along with
many other software packages).  It then has another tool called
alertmanager that let's you run queries at defined intervals and send
alerts if queries meet conditions [1].

I've set up a pometheus instance on freedom [2][3] and I plan to setup
alertmanager soon.  But what sort of queries do we want alerts on?

We can also query data about vms because cAdvisor collects data about vms :)

Thanks,
Sam

[1] http://prometheus.io/docs/alerting/overview/
[3] http://dev.sam.today:9090 (I got HSTS all over freedom.slo, so firefox
now decides I want https on every port)
[2]Query to view dockers memory usage:
http://dev.sam.today:9090/graph#[{%22range_input%22%3A%221h%22%2C%22end_input%22%3A%22%22%2C%22step_input%22%3A%22%22%2C%22stacked%22%3A%22%22%2C%22expr%22%3A%22drop_common_labels%28\n%20%20%20%20avg_over_time%28\n%20%20%20%20%20%20%20%20container_memory_usage_bytes{id%3D~\%22%2Fdocker%2F\%22}[5m]\n%20%20%20%20%29\n%29%20%3E%20%200%22%2C%22tab%22%3A1}]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/private/systems/attachments/20150802/085d2177/attachment.html>


More information about the Systems mailing list