A very simple proxy between collectd and influxdb.
Clone this project and just make it.
$ make
First, add following lines to collectd.conf then restart the collectd daemon.
LoadPlugin network
<Plugin network>
# proxy address
Server "127.0.0.1" "8096"
</Plugin>
And start the proxy.
$ bin/proxy --typesdb="types.db" --database="collectd" --username="collectd" --password="collectd"
$ bin/proxy --help
Usage of bin/proxy:
-database="": database for influxdb
-hostname-as-column=false: true if you want the hostname as column, not in series name
-influxdb="localhost:8086": host:port for influxdb
-logfile="proxy.log": path to log file
-normalize=true: true if you need to normalize data for COUNTER types (over time)
-storerates=true: true if you need to derive rates from DERIVE types
-password="root": password for influxdb
-proxyhost="0.0.0.0": host for proxy
-proxyport="8096": port for proxy
-typesdb="types.db": path to Collectd's types.db
-username="root": username for influxdb
-verbose=false: true if you need to trace the requests
- http://github.com/paulhammond/gocollectd
- http://github.com/influxdb/influxdb/client
This project is maintained with following contributors' supports.
- porjo (http://github.com/porjo)
- feraudet (http://github.com/feraudet)
- falzm (http://github.com/falzm)
- vbatoufflet (http://github.com/vbatoufflet)
- cstorey (http://github.com/cstorey)
- jeroenbo (http://github.com/jeroenbo)