This repository has been archived by the owner. It is now read-only.
Proxy to allow RRDtool to write to other backends than RRD files.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
debian
lib
spec
vagrant
.gitignore
.hound.yml
.rspec
.rubocop.yml
.ruby-gemset
.ruby-version
.travis.yml
Gemfile
Gemfile.lock
README.md
Rakefile
VERSION
Vagrantfile

README.md

RRDcached Proxy

Code Climate Test Coverage Build Status

Proof of concept for a RRDcached proxy.

Setup

vagrant up

Usage

Create sample RRD

rrdtool create /tmp/test.rrd        \
         --start 920804400          \
         DS:speed:COUNTER:600:U:U   \
         RRA:AVERAGE:0.5:1:24       \
         RRA:AVERAGE:0.5:6:10

Start a server

vagrant ssh

cd /vagrant
bundle install
sudo ruby bin/rrdcached-proxy

Start client

vagrant ssh
sudo socat - UNIX-CONNECT:/var/run/rrdcached-proxy.sock
# try HELP as command
UPDATE /tmp/test.rrd 1422541269:600