Menu

Use multiple RRD files as input?

Help
dfx
2011-09-12
2013-05-09
  • dfx

    dfx - 2011-09-12

    Hi,

    Is it possible to load multiple RRD files and create a single graph with data from all of them? I'm aware of the RRDFileSum class, but I don't want to simply sum the values up, but rather do a subtraction (or even simply plot all the different values in one graph).

    Background is that I want to use the memory statistics RRDs created by collectd to draw a single "memory used" graph, but I need to plot a value that consists of "memory used - cached - buffers", and all those values are in different RRD files.

    TIA

     
  • Igor Sfiligoi

    Igor Sfiligoi - 2011-09-21

    First of all… sorry for the late reply.
    I just now noticed it.

    But, yes, it is possible.
    You just need to use the RRDFlotMatrix.

    Igor

     
  • Moritz Strübe

    Moritz Strübe - 2013-01-21

    As far as I can see RRDFlotMatrix stacks the graphs. Is there a way to avoid this? I just want plain temperature graphs.

     
  • Igor Sfiligoi

    Igor Sfiligoi - 2013-01-22

    Not out of the box.

    The only two functions are stacking (RRDFlotMatrix) and summing (RRDFileSum).

    Sorry,
      Igor

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.