why not use collectd? centos7 rpms should do fine. On Feb 12, 2018 9:50 PM, Benjeman Meekhof <bmeekhof@xxxxxxxxx> wrote: > > In our case I think we grabbed the SRPM from Fedora and rebuilt it on > Scientific Linux (another RHEL derivative). Presumably the binary > didn't work or I would have installed it directly. I'm not quite sure > why it hasn't migrated to EPEL yet. > > I haven't tried the SRPM for latest releases, we're actually quite far > behind the current python-influx version since I built it a while back > but if I were you I'd grab whatever SRPM gets you the latest > python-influxdb release and give it a try. > > http://rpmfind.net/linux/rpm2html/search.php?query=python-influxdb > > thanks, > Ben > > On Mon, Feb 12, 2018 at 11:03 AM, <knawnd@xxxxxxxxx> wrote: > > Dear all, > > > > I'd like to store ceph luminous metrics into influxdb. It seems like influx > > plugin has been already backported for lumious: > > rpm -ql ceph-mgr-12.2.2-0.el7.x86_64|grep -i influx > > /usr/lib64/ceph/mgr/influx > > /usr/lib64/ceph/mgr/influx/__init__.py > > /usr/lib64/ceph/mgr/influx/__init__.pyc > > /usr/lib64/ceph/mgr/influx/__init__.pyo > > /usr/lib64/ceph/mgr/influx/module.py > > /usr/lib64/ceph/mgr/influx/module.pyc > > /usr/lib64/ceph/mgr/influx/module.pyo > > > > So following http://docs.ceph.com/docs/master/mgr/influx/ doc I enabled > > influx plugin by executing the following command on mgr node: > > ceph mgr module enable influx > > > > but in ceph log I see the following error: > > 2018-02-12 15:51:31.241854 7f95e7942600 0 ceph version 12.2.2 > > (cf0baeeeeba3b47f9427c6c97e2144b094b7e5ba) luminous (stable), process > > (unknown), pid 96425 > > [....] > > 2018-02-12 15:51:31.422414 7f95dec29700 1 mgr init Loading python module > > 'influx' > > [....] > > 2018-02-12 15:51:32.227206 7f95c36ec700 1 mgr load Constructed class from > > module: influx > > [....] > > 2018-02-12 15:51:32.228163 7f95c0ee7700 0 mgr[influx] Cannot transmit > > statistics: influxdb python module not found. Did you install it? > > > > Indeed there is no python-influxdb module install on my mgr node (CentOS 7 > > x64) but yum search can't find it with the following repos enabled: > > repo id > > repo name status > > Ceph/x86_64 > > Ceph packages for x86_64 > > Ceph-noarch > > Ceph noarch packages > > base/7/x86_64 CentOS-7 - Base > > ceph-source > > Ceph source packages > > epel/x86_64 > > Extra Packages for Enterprise Linux 7 - x86_64 > > extras/7/x86_64 CentOS-7 - Extras > > updates/7/x86_64 CentOS-7 - Updates > > > > Python version is 2.7.5. > > > > Is 'pip install' the only way to go or there is still some option to have > > required python module via rpm? I wonder how other people deals with that > > issue? > > _______________________________________________ > > ceph-users mailing list > > ceph-users@xxxxxxxxxxxxxx > > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com