[rrd-users] Storing integer values in RRD?

Anders Ringaby julius at softwell.se
Thu Mar 15 15:10:45 MET 2001



Hello everybody!

Is there anyone who knows what kind of data
that can be stored in a RRD database? The
manual talks about numerical values, but I
suspect they always mean alphanumerical
characters. As an example, if you want to
store the value 99 in RRD, you store the
string "99".

But in this case, I would like to store integer
VALUES in a RRD database, as integers, and I
would like rrdtool to interpret them correctly,
and to show them in a graph correctly.

The reason for this is that I have wrote
a C program that reads unsigned 32 and
64 bit integers from a socket, and I would
like to store them in their original form
in RRD, without having to convert them
to strings first ( WITHOUT having to run
fprintf(..,"%d") or sprintf(..,"%d") ).

Can this be done? If so, how?

Regards

Anders Ringaby




--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list