1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/* Licensed to the public under the Apache License 2.0. */
'use strict';
'require baseclass';
return baseclass.extend({
title: _('SQM'),
rrdargs(graph, host, plugin, plugin_instance, dtype) {
const overview = {
per_instance: false,
title: "%H: SQM qdisc %pi Overview",
rrdopts: [ "--logarithmic" ],
vlabel: " ",
alt_autoscale: true,
number_format: "%5.0lf",
data: {
types: [ "qdisc_bytes", "qdisc_backlog", "qdisc_drops" ],
options: {
qdisc_bytes: { title: "kb/s:", overlay: true, noarea: false, color: "0000ff", transform_rpn: "125,/" },
qdisc_backlog: { title: "Backlog/B:", overlay: true, noarea: true, color: "8000ff" },
qdisc_drops: { title: "Drops/s:", overlay: true, noarea: true, color: "00ffff", }
}
}
};
return [ overview ];
}
});
|