[collectd] Issues when trying to use the python plugin for mongo
Finn, Dan
dfinn at ea.com
Sat Feb 14 07:17:51 CET 2015
So, in that case my config is correct yet something is still not right.
On Fri, Feb 13, 2015 at 8:45 PM, Dennis Jacobfeuerborn <dennisml at conversis.de<mailto:dennisml at conversis.de>> wrote:
The README file shows you how to do this:
# mongodb.py is at path /opt/collectd-plugins/mongodb.py
ModulePath "/opt/collectd-plugins/"
You can of course use a different directory if you want to.
Regards,
Dennis
On 13.02.2015 22:43, Finn, Dan wrote:
> In that case I guess I^1m a bit confused. Where should I put the python
> module and how do I tell collectd where it lives?
>
> On 2/13/15, 2:37 PM, "Sven Trenkel" <collectd at semidefinite.de> wrote:
>
>> On 13.02.2015 20:44, Finn, Dan wrote:
>>
>>> ModulePath "/etc/collectd.d/"
>>
>> Oh wait, I'm guessing you don't actually have a main config file but
>> instead a config directory, which happens to be /etc/collectd.d/? Again,
>> in that case collectd will try to parse python code as a config file,
>> which will obviously not work. You need to move all code out of that
>> directory.
>>
>> _______________________________________________
>> collectd mailing list
>> collectd at verplant.org
>> http://mailman.verplant.org/listinfo/collectd
>
>
> _______________________________________________
> collectd mailing list
> collectd at verplant.org
> http://mailman.verplant.org/listinfo/collectd
>
_______________________________________________
collectd mailing list
collectd at verplant.org
http://mailman.verplant.org/listinfo/collectd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20150214/7f8ffcfe/attachment.html>
More information about the collectd
mailing list