Tested with Zabbix 2.4 (http://www.zabbix.com/) and Docker 1.5 (https://www.docker.com/).
- 'pip install docker-py'
- Add a line from 'sudo' file to your sudo config
- copy 'zabbix-docker-discovery.py' and 'zabbix-docker-stats.py' to '/usr/local/bin'
- make it executable with root user
- copy 'userparameter_docker.conf' to '/etc/zabbix/zabbix_agentd.d/'
- You need to have 'EnableRemoteCommands=1' in Zabbix agent config
- restart zabbix-agent
- Import 'docker_zbx_export_templates.xml' into Zabbix and configure it
- {#NAME} kernelmode cpu usage
- {#NAME} memory fail count
- {#NAME} memory max usage
- {#NAME} memory total
- {#NAME} memory usage
- {#NAME} network received bytes
- {#NAME} network received packages
- {#NAME} network received packages dropped
- {#NAME} network received packages errors
- {#NAME} network transmitted bytes
- {#NAME} network transmitted packages
- {#NAME} network transmitted packages dropped
- {#NAME} network transmitted packages errors
- {#NAME} stats scheduler
- {#NAME} system cpu usage
- {#NAME} total cpu usage
- {#NAME} usermode cpu usage
- {#NAME} CPU
- {#NAME} Memory
- {#NAME} network