Skip to content
This repository has been archived by the owner on Apr 6, 2024. It is now read-only.
/ librrd-ruby Public archive
forked from bernd/librrd-ruby

Ruby bindings for librrd. Extracted from the RRDtool source.

License

Notifications You must be signed in to change notification settings

chommik/librrd-ruby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, 2.0.0pre
    • ruby-enterpriseedition 1.8.7 2010.02
  • Ubuntu 11.04 (RRDtool 1.4.3)
    • Ruby 1.9.2p180, Ruby 1.8.7p334
  • 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
  • Mac OS X 10.7.2 (RRDtool 1.4.5, Homebrew)
    • Ruby 1.9.3p0

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:

rake build_rrd

Run the tests:

rake test

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.

About

Ruby bindings for librrd. Extracted from the RRDtool source.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 85.1%
  • Ruby 14.9%