gomex / docker-zabbix

Add and monitor running docker containers in Zabbix Server
GNU General Public License v3.0
52 stars 14 forks source link

Error #14

Open bdshibly opened 8 years ago

bdshibly commented 8 years ago

Hi,

I am getting the following error message

/usr/bin/sudo /etc/zabbix/docker_stats.py Traceback (most recent call last): File "/etc/zabbix/docker_stats.py", line 4, in from docker_service import DockerService ImportError: No module named docker_service

Please help Ferdous Shibly

osnet commented 8 years ago

just copy the directory docker_service in the rootfolder of zabbix > /etc/zabbix

shkadov commented 7 years ago

Hello,

Got the following:

/usr/bin/sudo /etc/zabbix/docker_stats.py

Traceback (most recent call last): File "/etc/zabbix/docker_stats.py", line 4, in from docker_service import DockerService File "/etc/zabbix/docker_service/DockerService.py", line 5, in from docker import Client File "/usr/lib/python2.7/site-packages/docker/init.py", line 6, in from .client import Client, AutoVersionClient, from_env # flake8: noqa File "/usr/lib/python2.7/site-packages/docker/client.py", line 5, in import requests File "/usr/lib/python2.7/site-packages/requests/init.py", line 58, in from . import utils File "/usr/lib/python2.7/site-packages/requests/utils.py", line 32, in from .exceptions import InvalidURL File "/usr/lib/python2.7/site-packages/requests/exceptions.py", line 10, in from .packages.urllib3.exceptions import HTTPError as BaseHTTPError File "/usr/lib/python2.7/site-packages/requests/packages/init.py", line 95, in load_module raise ImportError("No module named '%s'" % (name,)) ImportError: No module named 'requests.packages.urllib3'

Please advice Den