We finished setting up a place to send all our Docker-related data to. Now, it is time to actually fetch all the data related to our Docker applications. In this section, we will use collectd
, a popular system statistics collection daemon. It is a very lightweight and high-performance C program. This makes it a noninvasive monitoring software because it doesn't consume many resources from the system it monitors. Being lightweight, it is very simple to deploy as it requires minimum dependencies. It has a wide variety of plugins to monitor almost every component of our system.
Let's begin monitoring our Docker host. Follow the next few steps to install collectd
and send the metrics to our Graphite deployment: