Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby bindings for librrd. Extracted from the RRDtool source.
branch: master

This branch is 34 commits behind bernd:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
ext/librrd
lib
.gitignore
CHANGES.md
COPYING
COPYRIGHT
README.md
Rakefile
VERSION
librrd.gemspec
test.rb

README.md

librrd

Description

This gem includes the RRDtool Ruby bindings from the RRDtool sources. It should help people that are unable to use or don't have some kind of librrd-ruby operating system package.

The extconf.rb tries to guess the librrd version installed on your system. If it doesn't work, please try to adjust the ext/librrd/extconf.rb file and submit a pull request or open an issue.

The following systems, RRDtool versions and Ruby versions have been tested.

  • Ubuntu 10.04 LTS (RRDtool 1.3.8)
    • Ruby 1.9.2p0, 1.8.7p302
    • Rubinius 1.1.0
    • ruby-enterpriseedition 1.8.7 2010.02
  • CentOS 5.5 (RRDtool 1.2.27)
    • ruby-enterpriseedition 1.8.6 20090610
  • OpenBSD 4.8 (RRDtool 1.2.30)
    • Ruby 1.9.2p0, 1.8.7p302

Installation

Make sure you have the development package of librrd installed. (like librrd-dev on Debian/Ubuntu) Then you can just gem install.

gem install librrd

Developing

Build the C extension:

ruby ext/librrd/extconf.rb
make

Run the tests:

ruby test.rb

Contribute

Please test the gem on different systems with different RRDtool versions and report success and/or failure. Open issues and/or submit pull requests with fixes.

Thank you!

Links

Maintainer

Bernd Ahlers

Copyright

Since the files have been taken from the RRDtool sources, all files in this project are available under the GNU General Public License. See the COPYING and COPYRIGHT for details.

Something went wrong with that request. Please try again.