[rrd-users] Re: Multiple targets in one RRD, and wrapping counters.
Alex van den Bogaerdt
alex at mail.hollandcasino.nl
Tue Jan 25 23:49:55 MET 2000
Chris Josephes wrote:
>
> One idea I had was to avoid saving aggregated data altogether. Instead, I
> would just create a RRD graph that would be built from the values in
> individual RRDs.
>
> For example:
>
> rrdtool graph total.png \
> DEF:r1in=router1.rrd:inoctets:AVERAGE \
> DEF:r2in=router2.rrd:inoctets:AVERAGE \
> DEF:r1out=router1.rrd:outoctets:AVERAGE \
> DEF:r2out=router2.rrd:outoctets:AVERAGE \
> "CDEF:inoctets=r1in,r2in,+" \
> "CDEF:outoctets=r1out,r2out,+" \
> LINE2:inoctets#ff0000 \
> AREA:outoctets#00ff00 \
>
This is pretty normal to do. You can add the values from many databases
this way. One thing to take in consideration is the following:
If you have an unknown value in one of the databases, and you add this
unknown value to the others, you end up with an unknown value.
So: 1+2+3+4+5+unknown equals unknown and it does not equal 15.
There are some examples available in the three tutorials and in the
manual pages.
regards,
--
__________________________________________________________________
/ alex at slot.hollandcasino.nl alex at ergens.op.het.net \
| work private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
--
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
More information about the rrd-users
mailing list