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 <denni...@conversis.de<mailto:denni...@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" <colle...@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@verplant.org >> http://mailman.verplant.org/listinfo/collectd > > > _______________________________________________ > collectd mailing list > collectd@verplant.org > http://mailman.verplant.org/listinfo/collectd > _______________________________________________ collectd mailing list collectd@verplant.org http://mailman.verplant.org/listinfo/collectd
_______________________________________________ collectd mailing list collectd@verplant.org http://mailman.verplant.org/listinfo/collectd