Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
C
tree: 254e15818f

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
Makefile
README.md
bungelo
bungelo.c
bungeloClient.c
bungeloClient.h
bungeloServer.c
bungeloServer.h
todo.org

README.md

bungle-o

bungle-o is a data capturing service built on top of zeromq, tofu, and redis. It uses the redis push/pull model with an http endpoint as the front end. The current focus is creating a hoptoad/airbrake style capturing endpoint. The compatability with hoptoad/airbrake messages is still in the works, but the foundation is all present. Later, the goal will be to open the capturing up to other things like logging, metrics reporting etc., to enable a one stop place for capturing data inside your infrastructure. While you only start one bungelo server, you can have as many clients as your heart desires to handle processing all of the messages that come in.

Notes

At the moment this only runs on linux. The Tofu library doesn't yet compile against OS X. Once that is resolved everything should work properly on OS X

Dependencies

For compiling the Tofu library

jansson

wget http://www.digip.org/jansson/releases/jansson-2.2.1.tar.gz
tar xvzf jansson-2.2.1.tar.gz
cd janson-2.2.1
./configure
make
sudo make install

libevent

wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz
tar xvzf libevent-2.0.16-stable
./configure
make
sudo make install

Tofu

sudo apt-get install autoconf automake libtool libpcre3 libpcre3-dev libfcgi-dev
git clone git://github.com/AlexBio/Tofu
cd Tofu
./autogen.sh
./configure
make
sudo make install

0MQ

sudo apt-get install libzmq-dev libzmq1

libjson

sudo apt-get install libjson0 libjson0-dev

hiredis

git clone https://github.com/antirez/hiredis
cd hiredis
make
sudo make install
sudo ldconfig

Building bungle-o

make

Using bungle-o

./bungelo --server
./bungelo --client
curl -d '{"id" : "bungle-o", "message" : "test message"}' http://localhost:5000
redis-cli smembers bungelo

You should see a message printed from the client every time something is posted to the server

Something went wrong with that request. Please try again.