Push Docker containers statistics to Zabbix efficiently
Docker Zabbix Sender delivers a daemon script that push to Zabbix statistics about Docker containers.
It leverages 2 interesting components:
- Zabbix maintains a tool titled zabbix-sender. It is meant to push Zabbix trapper items efficiently.
- Docker 1.5.0 comes with Docker Remote API version 17, providing a new stats endpoint. It allows the client to subscribe to a live feed delivering a container statistics.
The daemon script stands in the middle of those 2 components. It collects Docker containers statistics and transforms them in Zabbix trapper events.
The daemon script already emits a collection of metrics: CPU, memory, and network usage. The module’s API provide mechanism to easily extend the list of published events.
The stable documentation is available on ReadTheDocs