[rrd-users] Still trying to create a graph from multiple sources in RRDtool

Tobias Oetiker tobi at oetiker.ch
Fri Jun 13 18:12:09 CEST 2008

Hi Emily,

Today Matthew M. Boedicker wrote:

> If you have multiple DSs you can update them by using the --template option
> to rrdtool update like this:
> rrdtool update file.rrd --template DS1name:DS2name:DS3name N:DS1value:DS2value:DS3value
> For CPU usage you might want to try GAUGE instead of COUNTER. For graphing
> them you could use 3 different color AREAs with STACK. The graph would have
> 3 DEFs (one for each data source) and 3 AREAs.
> On Fri, Jun 13, 2008 at 11:06:05AM -0400, Emily Chouinard wrote:
> > Still lost without a clue. I know not everyone is working with python
> > but any help with the RRDtool aspect would be greatly appreciated. I
> > tried declaring all three sources as DS in the create file but I don't
> > know how to update, let alone graph all this information. I'm just
> > looking for a how to, the documentation very briefly describes multiple
> > sources and I tried that, failed and now I'm still looking for a way to
> > take the CPU usage of user, system and idle, plot them together and
> > compare the difference in percentage of what they used. So so far I've
> > tried creating counters, and it didn't seem to work and now I'm just
> > completely and utterly lost.
> > Thanks you!
> >

I think what you are missing, is that you can have multiple DEF
instructions in your graph command. Each DEF can point to a
different rrd file.


Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902

More information about the rrd-users mailing list