-
Notifications
You must be signed in to change notification settings - Fork 105
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
Module name clashing #17
Comments
+1 |
2 similar comments
+1 |
+1 |
This is caused because there is another python module named "elasticsearch" in your default PYTHONPATH. The work around is to rename the collectd plugin's python file from elasticsearch.py -> elasticsearch_collectd.py then edit your config file and change: |
Thanks for the workaround @tedoc2000. |
Thank you @tedoc2000 & @ptbrowne, was very helpful ! |
Hello, i don't understand. Config Elasticsearch Plugin that make collectd send to Elas or receivce data from Elas? |
I had the same issue. I think this because I installed python-elasticsearch from elasticsearch upstream |
Hi,
I have just run into a very hard to debug problem. After adding elasticsearch.py to my config, I had the error
python plugin: Found a configuration for the "elasticsearch" plugin, but the plugin isn't loaded or didn't register a configuration callback.
It was because I had already installed the ElasticSearch python client globally and so collectd was loading the wrong module. Sure, this is a newbie mistake and I should have used a virtualenv, but I guess maybe renaming
elasticsearch.py
toelasticsearch_collectd.py
could perhaps save some users some headaches ;-)Thanks !
The text was updated successfully, but these errors were encountered: