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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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:
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
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
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