Skip to content

error loading plugin #43

@yogeshVU

Description

@yogeshVU
/opt/collectd# ./sbin/collectd -t -C etc/conf.d/docker.conf 
plugin_load: plugin "python" successfully loaded.
python plugin: Error importing module "dockerplugin".
Unhandled python exception in importing module: SyntaxError: invalid syntax (dockerplugin.py, line 217)
python plugin: Found a configuration for the "dockerplugin" plugin, but the plugin isn't loaded or didn't register a configuration callback.
Error: Reading the config file failed!

root@/opt/collectd# pip show docker-py
Name: docker-py
Version: 1.10.6
Summary: Python client for Docker.
Home-page: https://github.com/docker/docker-py/
Author: Joffrey F
Author-email: joffrey@docker.com
License: UNKNOWN
Location: /usr/local/lib/python2.7/dist-packages
Requires: backports.ssl-match-hostname, six, websocket-client, ipaddress, docker-pycreds, requests

Docker version 17.06.2-ce, build cec0b72
collectd 5.7.2.623.gc870991, http://collectd.org/

ubuntu: 16.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions