[rrd-users] Re: resize question
Alex van den Bogaerdt
alex at ergens.op.het.net
Fri Dec 10 14:26:10 MET 2004
On Fri, Dec 10, 2004 at 02:06:08PM +0100, Robin Elfrink wrote:
> >what does
> >"rrdtool fetch your.rrd AVERAGE --start end-30d --end 12:00 | wc -l"
> >And what about:
> >"rrdtool fetch your.rrd AVERAGE --start end-30d --end now | wc -l"
> bash-2.05b# rrdtool fetch resize.rrd AVERAGE --start end-30d --end 12:00
> | wc -l
This used the 30-minute RRA.
30 days, 24 hours a day, 2 intervals per hour. Add a couple of
header lines and you get 1443.
> bash-2.05b# rrdtool fetch resize.rrd AVERAGE --start end-30d --end now |
> wc -l
This is strange. I would expect to see more lines.
Hmmm... never mind, it is not important.
rrdtool fetch is certainly capable to fetch data from the 30-minute RRA,
so rrdtool graph should be able to do this as well.
Repeat the debugging process but now with rrdtool graph.
A simple graph, just one DS, will probably be enough.
(some adjustment may be needed, such as the DS name).
rrdtool graph picture1.png --start end-30d \
--end 12:00 DEF:a=resize.rrd:ds0:AVERAGE LINE1:a#FF0000
and of course
rrdtool graph picture2.png --start end-30d \
If the first picture does not produce normal results,
add in "-r 1800" and retry. This shouldn't help for
the 2nd picture.
I ask you to respect any "Reply-To" and "Mail-Follow-Up" headers. If
you reply to me off-list, you'd better tell me you're doing so. If
you don't, and if I reply to the list, that's your problem, not mine.
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users