[Systems] Docker alerting
Bernie Innocenti
bernie at codewiz.org
Sun Aug 2 18:10:05 EDT 2015
Very cool, Sam. I'd set up alerts for any limited resources being close
to exhaustion and when processes crash.
By the way, I'll be travelling for a few weeks with little connectivity
and I also should let my arm rest from typing, so I won't be responding
to SL email. In case of an emergency, call or IM me.
On 02/08/15 17:19, Sam P. wrote:
> 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 <http://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}]
--
_ // Bernie Innocenti
\X/ http://codewiz.org
More information about the Systems
mailing list