[collectd] import collectd on CentOS6

Brian Lalor blalor at bravo5.org
Fri Aug 29 15:26:21 CEST 2014


I think there's a separate collectd-python package in EPEL. If not, the spec file in the contrib dir of the source tarball works perfectly. 

--
Brian Lalor
blalor at bravo5.org

> On Aug 29, 2014, at 7:47 AM, Lindsay Holmwood <lindsay at holmwood.id.au> wrote:
> 
> 
> 
>> On Wednesday, July 16, 2014, Johan Guldmyr <johan.guldmyr at csc.fi> wrote:
>> Hi!
>> 
>> 1. Thanks for a great software, it's fun with metrics :)
>> 
>> 2.
>> 
>> I'm attempting to try this python plugin: https://github.com/phobos182/collectd-elasticsearch
>> 
>> But I can't seem to get it to load, probably because "import collectd" fails when I try to run the script manually.
>> 
>> How do I find/install that library on CentOS6?
> 
> It's highly probable the collectd package you installed on CentOS 6 doesn't have the Python plugin compiled in. 
> 
> Running `rpm -ql collectd | grep python` will tell you if you've got any Python bits in the installed package. 
> 
> You likely need to find an alternative package with the Python plugin, or build collectd from source. 
> 
> Cheers,
> Lindsay 
> 
> 
> -- 
> w: http://fractio.nl/
> t: @auxesis
> _______________________________________________
> 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/20140829/0fe9dd1f/attachment-0001.html>


More information about the collectd mailing list