Menu

rrdFlotMatrix ignoring rrdflot_defaults?

Help
2013-07-29
2013-11-01
  • Luis Linares Garcia

    Hi Igor,

    I have been working on RRD-based monitoring of tomcat servlets in some servers, and so I have instantiated a rrdFlotMatrix to load a bunch of RRDs from a specific machine. The RRDs have two sets of identical RRAs, except for their CF, one set is AVERAGE, the other is MAX. In a function I have:

        var ds_list = null;
        var plot_options = {legend: {position: 'ne'},
                        tooltipOpts: { content: "<h4>%s</h4> Value: %y.0" }};
        var rrd_plots_options = {};
        for (rrd_index in rrd_data) {
          rrd_name = rrd_data[rrd_index][0];
          checked = true;  //Actually a bunch of code
          rrd_plots_options[rrd_name] = {checked: checked,
                                         lines: {filled: false}};
        }
        var rrd_flot_options = {multi_rra: true};
        var f = new rrdFlotMatrix ("mygraph", rrd_data, ds_list, plot_options, rrd_plots_options, rrd_flot_options);
    

    but the RRA listing comes with no indication of the CF for the RRAs. I have checked the code for rrdFlotMatrix and it seems to apply the rrdflot_options, but I'm not seeing that. Also, the tooltip formatting is being ignored, but that's not as important as the RRA CF issue. Can you help me looking into why is this?

    Thanks!

     

    Last edit: Luis Linares Garcia 2013-07-29
  • Igor Sfiligoi

    Igor Sfiligoi - 2013-11-01

    The Matrix file has been a bit neglected in the recent past :(

    I will have to port the new changes from rrdFlot.

    Will let you know when that's done.

    Igor

     
  • Igor Sfiligoi

    Igor Sfiligoi - 2013-11-01

    Hi Luis.

    I have ported most of the features; only the timezone should be missing.

    Can you check out from CVS and see if it works for you?

    Thanks,
    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.