rrd-ffi
rrd-ffi copied to clipboard
A ruby wrapper for librrd (rrdtool) using ffi.
This change updates the dependency to rails 7.0 and replaces should with expect in rspec to remove deprecations
Any chance on supporting `rrdtool` 1.6.0? I ran into this error: ``` dyld: lazy symbol binding failed: Symbol not found: _rrd_get_context Referenced from: /usr/local/lib/librrd.dylib Expected in: flat namespace dyld: Symbol...
Take this file: ``` ruby require 'rrd' rrd = RRD::Base.new("test.rrd") time = Time.now.to_i / 300 * 300 rrd.create!(start: time, step: 5.minutes) do datasource "foo", type: :gauge, heartbeat: 10.minutes, min: 0.0,...
By default negative values are not allowed in the datasources because the lower limit is set to 0. I have modified this to allow negative values.
RRD::Wrapper.fetch and RRD::Wrapper.last_update, among others possibly, do not support the "rrdtool fetch"'s and "rrdtool lastupdate"'s --daemon argument (so a flush command can be sent to the daemon prior to reading...
rrdtool can be compiled without graphics support with the configure command "./configure --disable-rrdcgi --disable-rrd_graph". If this was the case, then the rrd-ffi gem will throw an exception on import because...
This is a monkey-patch, but allows for basic HRULE usage: ``` ruby module RRD class Graph def draw_hrule(options) options = {:width => 1}.merge options type = "HRULE" draw(type, options) end...
Hi, when I install the gem and run a simple Ruby script that tries to render a RRD graph it breaks because it needs the `i18n` gem. Installing the gem...
Hi, Having all latest libraries (glib 2.36.0, pango 1.34.0, rrdtool 1.4.7). I'm trying to generate an rrdgraph using very simple command ``` ruby RRD.graph! tmp.path, :title => "graf", :start =>...