BTMon & RRDTool - rrdtool module could not be imported

Post any 3rd party software here.
Post Reply
haveaday
Posts: 3
Joined: Thu Nov 16, 2017 11:19 am

BTMon & RRDTool - rrdtool module could not be imported

Post by haveaday » Thu Nov 16, 2017 11:30 am

Hello,

I'm a neophyte here. Trying to get btmon working with rrd. I'm using a basic LAMP stack with perl, python, etc in place. I've installed RRDTool on the image and can confirm I'm able to launch rrdtool. When I try and run btmon with my config for RRDTool in place I get the following:

Code: Select all

$ ./btmon.py -c config.cfg
2017/11/16 16:27:47 btmon: 3.1.1
2017/11/16 16:27:47 python: 2.7.9 (default, Jun 29 2016, 13:08:31)
[GCC 4.9.2]
2017/11/16 16:27:47 platform: linux2
2017/11/16 16:27:47 device type: gem
2017/11/16 16:27:47 device list: ['']
2017/11/16 16:27:47 packet format: gem48ptbin
2017/11/16 16:27:47 schema: counters
2017/11/16 16:27:47 SOCKET: timeout: 60
2017/11/16 16:27:47 SOCKET: server host: 172.16.1.129
2017/11/16 16:27:47 SOCKET: server port: 8008
RRD Error: rrdtool module could not be imported.
Any suggestions?
Thanks
Ben
mwall
Posts: 140
Joined: Wed Dec 07, 2011 6:25 pm

Re: BTMon & RRDTool - rrdtool module could not be imported

Post by mwall » Thu Nov 16, 2017 12:49 pm

you need to install the python module for rrdtool

for example, on debian systems do:

sudo apt-get install python-rrdtool

on redhat systems do:

sudo yum install rrdtool-python
haveaday
Posts: 3
Joined: Thu Nov 16, 2017 11:19 am

Re: BTMon & RRDTool - rrdtool module could not be imported

Post by haveaday » Fri Nov 17, 2017 4:33 pm

Thanks, that was the problem.
Post Reply