aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/nms-info-box.js
diff options
context:
space:
mode:
authorKristian Lyngstol <kly@kly.no>2016-11-07 22:56:41 +0100
committerKristian Lyngstol <kly@kly.no>2016-11-07 22:56:41 +0100
commitd8f2953b4b3cd86865d266b70f765cd200f9dcf6 (patch)
treea472f4238d88129070dcbae801adf2f427e23925 /web/js/nms-info-box.js
parentc9bdd40a9f90c9f5205ba058d6bc5ab1443dfee4 (diff)
Tweak graphs slightly for size and more
Diffstat (limited to 'web/js/nms-info-box.js')
-rw-r--r--web/js/nms-info-box.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/nms-info-box.js b/web/js/nms-info-box.js
index 9d9d9a3..c2036cc 100644
--- a/web/js/nms-info-box.js
+++ b/web/js/nms-info-box.js
@@ -601,7 +601,7 @@ var switchPortsPanel = function () {
}
var img = document.createElement("img");
var i = "totals";
- img.src = '/render/?target=cactiStyle(group(aliasByMetric(perSecond(sum(snmp.' + this.sw + '.*.ifHCInOctets))),aliasByMetric(perSecond(sum(snmp.' + this.sw + '.*.ifHCOutOctets)))),"binary")' + nmsInfoBox._graphDefaults(this.sw + "totals");
+ img.src = '/render/?target=cactiStyle(group(aliasByMetric(perSecond(sum(snmp.' + this.sw + '.*.ifHCInOctets))),aliasByMetric(perSecond(sum(snmp.' + this.sw + '.*.ifHCOutOctets)))),"binary")' + nmsInfoBox._graphDefaults(this.sw + " totals");
img.classList.add("graph");
var expanderButton = document.createElement("a");
expanderButton.innerHTML = "Toggle all";