Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #14

Open
bdshibly opened this issue Mar 31, 2016 · 2 comments
Open

Error #14

bdshibly opened this issue Mar 31, 2016 · 2 comments

Comments

@bdshibly
Copy link

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
Copy link

osnet commented Jun 23, 2016

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

@shkadov
Copy link

shkadov commented Jul 3, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants