On 20.05.2013 06:33, kangqiang wrote:
Sorry, but I think you didn't understand my question. For example, I
write a plugin use python as follows. I want to verify if my plugin
would work,
then I run it. It cann't run because collectd can't import, the module
is not exist.
I search in google, but every people say how to configure python plugin,
not anywhere to say how to install python plugin dependency.
Below is some python code,error occured at the first line :

I really am not sure what you're trying to do. In any way, if you have that script loaded in your collectd config then please paste all log lines from the collectd.log that are related to the Python plugin, there should be several. If you can't find any then please try the collectd.conf I pasted in my last mail and try to run that on the console, that will either drop you to an interactive Python shell or print some error messages to stdout.


_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to