Skip to content

JeroenBo/influxdb-collectd-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

influxdb-collectd-proxy

A very simple proxy between collectd and influxdb.

Build

Clone this project and just make it.

$ make

Usage

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"

Options

$ 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

Dependencies

References

Contributors

This project is maintained with following contributors' supports.

About

A very simple proxy between collectd and influxdb.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 95.8%
  • Makefile 4.2%