rpsedlak / zabbix-docker

This repository contains monitoring code for Zabbix to discover and monitor Docker instances on Linux platforms.
30 stars 27 forks source link

Requests for data appears to be overloading 'docker' command #15

Closed rpsedlak closed 8 years ago

rpsedlak commented 8 years ago

It appears that the rapid-fire usage of the 'docker' command for collecting data may be causing docker to fail. The data collection needs to use a cached file of sorts to reduce the number of times that the docker command is called from the command line.

rpsedlak commented 8 years ago

Wrote caching function for zabbix-docker-inspect.py and zabbix-docker-stats.py. Currently in testing.

rpsedlak commented 8 years ago

Problem still appears to be happening for CentOS only.

rpsedlak commented 8 years ago

Wrote new zabbix-docker-info.py command that caches values every 60 seconds to solve this issue.