Skip to content
This repository was archived by the owner on Sep 22, 2023. It is now read-only.

scraton/credis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

credis

Credis (http://code.google.com/p/credis) is a client library in plain C written by Jonas Romfelt (jonas at romfelt dot se) for communicating with Redis (http://code.google.com/p/redis) servers. Redis is a high performance key-value database, refer to Redis project page for more information.

Modifications

This fork has been modified to remove the majority of the Redis commands and focus purely on the reporting features. This makes is a useful companion with collectd since it can be dropped in for use by the official redis plugin.

While removing a lot of features, it also improves the compatability range of Redis versions supported, tested up to at least 2.8.4.

Building

To build credis-test and credis shared and static libraries simply clone and run:

  make

To run through a number of credis tests run (presupposed that a Redis server is listening on the default port on localhost):

  ./credis-test

For use with collectd, you can also now install: (Check Makefile to see paths where it will be installed)

  make
  make install

Authors

All credit is due to the original author Joans Romfelt. Modifications made by Stephen Craton, a self proclaimed noob at C.

About

Extremely simplified credis library purely for reporting tools.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages