A simple Riemann client in Lua
C Lua M4 Makefile Shell
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
m4
tests
.gitignore
.travis.yml
GPL
LGPL
Makefile.am
NEWS
README.md
configure.ac
riemoon.rockspec.in

README.md

Riemoon

Build Status

This is a Riemann client library for the Lua programming language, built on top of riemann-c-client. For now, it's a work in progress library.

The library uses semantic versioning.

Installation

The library requires lua >= 5.1 (or LuaJIT), riemann-c-client >= 1.4.0, autotools and busted to build. It is recommended to install and use the library via LuaRocks:

$ luarocks install riemoon

Demo

A simple program that sends a static event to Riemann is included below. More examples can be found in the test suite.

riemoon = require ("riemoon")

client = riemoon.connect ()
client:send ({host = "localhost",
              service = "demo-client",
              state =" ok",
              tags = {"demo-client", "riemoon"},
              riemoon = "0.0.0"})

License

Copyright (C) 2015 Gergely Nagy algernon@madhouse-project.org, released under the terms of the GNU Lesser General Public License, version 3+.