aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/nms-info-box.js
diff options
context:
space:
mode:
authorKristian Lyngstol <kly@kly.no>2016-11-06 23:09:54 +0100
committerKristian Lyngstol <kly@kly.no>2016-11-06 23:09:54 +0100
commita8650317ebf0fb13f353040b9151f6dfc9681790 (patch)
treebfc965a37081e5c18b9f3e118cafd80b30f25e36 /web/js/nms-info-box.js
parentfe1199edbee4c828865265144dad8b19dfcd7511 (diff)
Change order of in/out bytes on overview port-graph
Needs to match with the drill-down graphs so the colors match up.
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 cc39c68..3bc60af 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 + '.*.ifHCOutOctets))),aliasByMetric(perSecond(sum(snmp.' + this.sw + '.*.ifHCInOctets)))),"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";