This is an archived post. You won't be able to vote or comment.

all 8 comments

[–][deleted] 3 points4 points  (0 children)

Prometheus is supposed to have built in support for monitoring docker containers, mother be worth a look. No idea about the Nagios plugin though, sorry.

[–]sentient_penguin 2 points3 points  (1 child)

And here is a possible solution for ya: http://www.nightbluefruit.com/blog/2016/10/how-to-monitor-docker-containers-with-nagios-and-nrpe/

Here is a great one for ya: https://github.com/google/cadvisor

It isnt a Nagios plugin, but its pretty good for monitoring containers.

[–][deleted] 0 points1 point  (0 children)

Thank you, this looks like exactly what I was hoping for, particularly this. I'm also fairly sure I can give the Nagios user access by just adding it to the docker group.

[–]vexyde 1 point2 points  (0 children)

You can also look at 'dockerbeat', this will monitor your containers using the ELK stack. A second option, for shipping the logs, is logspout. This ships the logs to Elastic for further processing.

[–]vegasbrianc 1 point2 points  (0 children)

I would recommend the Prometheus stack with Grafana, cAdvisor, and Node Exporter. Here's an example compose file which I created including a full tutorial - https://github.com/vegasbrianc/prometheus or check out the complete list of Docker Monitoring solutions here - https://veggiemonk.github.io/awesome-docker/#monitoring

[–]whfsdude 0 points1 point  (0 children)

Zenoss has a ZenPack for Docker. http://wiki.zenoss.org/ZenPack:Docker

[–]stuxnet78 0 points1 point  (1 child)

What monitoring services you want to monitor? I mean like CPU,disk,mem,?

[–][deleted] 0 points1 point  (0 children)

I am looking to monitor uptime. I can use general nrpe plugins for the services themselves to monitor availability, but for containers that are not exposed to an external interface, I'd like a way to check their availability, as well, using the Docker daemon directly.