[collectd] python plugin.

Dan Dong dongdan39 at gmail.com
Tue Mar 10 20:37:06 CET 2015


Thanks Giovanni, I could see it already there:
    processes . . . . . . yes
    protocols . . . . . . yes
    python  . . . . . . . yes

and
$ ll /opt/collectd/lib/collectd/python*
-rw-r--r-- 1 root root 288892 Mar 10 15:04
/opt/collectd/lib/collectd/python.a
-rwxr-xr-x 1 root root    969 Mar 10 15:04 /opt/collectd/lib/collectd/
python.la
-rwxr-xr-x 1 root root 188262 Mar 10 15:04
/opt/collectd/lib/collectd/python.so

Just confused by misleading info from the web that the lib should be under:
/opt/collectd/lib/collectd/plugins/python/

Cheers,
Dan



2015-03-10 14:11 GMT-05:00 Giovanni Torres <giovtorres at hotmail.com>:

> Before you compile with --enable-python, make sure the python headers are
> installed on your system:
>
> apt-get install libpython (debian)
> yum install python-devel (redhat)
>
> Then recompile.  Make sure the summary at the end of the configure step
> says:
>
>     python  . . . . . . . yes
>
> Resulting python plugin shared module will be in:
>
> ${prefix}/lib/collectd/python.so
>
> -Giovanni
> ________________________________
> > Date: Tue, 10 Mar 2015 10:19:06 -0500
> > From: dongdan39 at gmail.com
> > To: collectd at verplant.org
> > Subject: [collectd] python plugin.
> >
> > Hi, All,
> >    Could anyone hint me how to install the python plugin of collectd? I
> > downloaded the collectd-5.4.2.tar.gz but after:
> > $./configure --prefix=/opt/collectd --enable-python
> > $sudo make all install
> >
> > Where can I find the python plugin? Is it supposed to be under:
> > /opt/collectd/lib/collectd/plugins/python/ ?
> >
> > But nothing there under /opt/collectd/lib/collectd/plugins/
> >
> > Cheers,
> > Dan
> >
> >
> > _______________________________________________ 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/20150310/a99eceab/attachment.html>


More information about the collectd mailing list