[rrd-users] Not corect numbers in rrd ?
Alex van den Bogaerdt
alex at ergens.op.het.net
Mon Jun 18 11:59:52 CEST 2007
On Mon, Jun 18, 2007 at 06:21:56AM +0200, VladoPortos wrote:
> Hi all,
>
> i made a graph which show online users and getting data from mysql and so
> on...
> But its show wrong data i gues its in parts "%8.0lf\\n'" <-- no idea what
> is this, or RRA:LAST:0.5:1:240 (what for is 0.5 there ?)
>
> Any idea what im doing wrong ?
You are using rrdtool as a graphing tool, and (wrongly) expect it
to behave like that. It isn't, and it doesn't.
There's plenty of documentation available which explains what's going
on; look at the tutorials, the manual pages and my site.
In short: rrdtool is _not_ a regular database and it is _not_ a tool
to make fancy pictures. The data you are seeing is _not_ wrong, your
expectations are.
That "0.5" is the "XFF". "%8.0lf" is input for "printf", do a google
search for "printf manual" if you don't know it. Output numbers are
in scientific notation (1.0e2 = 10) and are not the same as input
numbers because of normalization and consolidation (see my site).
HTH
--
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/
More information about the rrd-users
mailing list