Menu

rrd database range

Help
quackerjac
2011-01-04
2013-05-09
  • quackerjac

    quackerjac - 2011-01-04

    Is there a way to limit the graph to a specific time range? for example 24 hours, 1 week, 1 month etc. The rrd database I'm using keep data up to 2 years at 3 minute intervals

     
  • quackerjac

    quackerjac - 2011-01-04

    Does javascriptrrd work with all rrd database versions? I'm running rrd 1.2.30

     
  • Igor Sfiligoi

    Igor Sfiligoi - 2011-01-04

    Not at the programmatic level.
    But once it is displayed, you can easily zoom in to any sub-range you want.

    And yes, it should support all the recent RRD version.
    If you have one that does not work, I can see why not and provide a fix if needed.

     
  • quackerjac

    quackerjac - 2011-01-05

    Thanks for the quick response. Cool utility by the way.

    I was able to get the example rrd databases to work with the utility, but not my graphs. Hmmm, for my environment I did need to change the default data source (DS) name size from 19 characters to 50. Could this be causing an issue? When I try the utility with my rrd databases the browser locks up and becomes unresponsive.

     
  • Igor Sfiligoi

    Igor Sfiligoi - 2011-01-10

    By changing the DS_Name size, you changed the format of the header.

    RRD has no metadata associated with the file, and relies on well-defined positions inside the file.
    So by breaking the header format, you created an invalid RRD file.
    You will need to "break" javascriptRRD in order to use your non-standard file.

    The file to patch is
    src/lib/rrdFile.js

     

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.