Hi,
I am trying to run collectd python module for mongoDB monitoring: https://github.com/sebest/collectd-mongodb The first line of mongodb.py plugin is: "import collectd" and the plugin can't load it. When I run python shell and try to import collectd manually I get: [root@cisco_aci_dev184 ~]# python Python 2.6.6 (r266:84292, Feb 22 2013, 00:00:18) [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import collectd Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named collectd In collectd documentation, in example section, "import collectd" is also sued: https://collectd.org/documentation/manpages/collectd-python.5.shtml#examples I am using CentOS 6.x and collectd 5.5 from http://dl.marmotte.net/rpms/redhat/el6/x86_64/collectd-5.5.0-1.el6 List of installed collectd rpms is: [root@cisco_aci_dev184 ~]# rpm -qa | grep collectd collectd-5.5.0-1.el6.x86_64 collectd-java-5.5.0-1.el6.x86_64 collectd-postgresql-5.5.0-1.el6.x86_64 collectd-disk-5.5.0-1.el6.x86_64 collectd-python-5.5.0-1.el6.x86_64 libcollectdclient-5.5.0-1.el6.x86_6 Where can I find colletd python library? Is it somewhere in the source code or in some external project in github? Package collectd-python is providing only python.so library: [root@cisco_aci_dev184 ~]# rpm -ql collectd-python /usr/lib64/collectd/python.so /usr/share/man/man5/collectd-python.5.gz Br, Pawel
_______________________________________________ collectd mailing list collectd@verplant.org http://mailman.verplant.org/listinfo/collectd