projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add 0,7000 to fix #246
[rrdtool.git]
/
doc
/
rrdruby.pod
diff --git
a/doc/rrdruby.pod
b/doc/rrdruby.pod
index
9633447
..
c1c246e
100644
(file)
--- a/
doc/rrdruby.pod
+++ b/
doc/rrdruby.pod
@@
-46,7
+46,7
@@
to the other B<rrdtool> documentation for functions and valid arguments.
puts
puts "fetching data from #{rrd}"
puts
puts "fetching data from #{rrd}"
- (fstart, fend, data) = RRD.fetch(rrd, "--start", start.to_s, "--end",
+ (fstart, fend, data
, step
) = RRD.fetch(rrd, "--start", start.to_s, "--end",
(start + 300 * 300).to_s, "AVERAGE")
puts "got #{data.length} data points from #{fstart} to #{fend}"
puts
(start + 300 * 300).to_s, "AVERAGE")
puts "got #{data.length} data points from #{fstart} to #{fend}"
puts
@@
-69,9
+69,9
@@
to the other B<rrdtool> documentation for functions and valid arguments.
puts
If you use the B<--ruby-site-install> configure option you can drop the $:
puts
If you use the B<--ruby-site-install> configure option you can drop the $:
-line since the
rrd
tool module will be found automatically.
+line since the
RRD
tool module will be found automatically.
-If
rrd
tool runs into trouble, it will throw an exception which you might
+If
RRD
tool runs into trouble, it will throw an exception which you might
want to catch.
=head1 SEE ALSO
want to catch.
=head1 SEE ALSO