gathering / gondul

Network management/monitoring system specialized for temporary events
http://tech.gathering.org
GNU General Public License v2.0
42 stars 10 forks source link

Something strange going on with the "Uplink Traffic" view #207

Open sjurtf opened 5 years ago

sjurtf commented 5 years ago

The switch reports a total of ish 800 Mbit uplink traffic, but Gonduls "Uplink traffic" view only reports 28 M on the same switch.

Example from e5-2: https://i.imgur.com/QZq2L9n.png

sjurtf commented 5 years ago

This stacktrace looks related:

Uncaught TypeError: Cannot read property 'switches' of undefined
    at Object.trafficUpdater [as cb] (nms-map-handlers.js:284)
    at Object.success (nms-data.js:290)
    at j (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at x (jquery.min.js:4)
    at XMLHttpRequest.b (jquery.min.js:4)
trafficUpdater @ nms-map-handlers.js:284
success @ nms-data.js:290
j @ jquery.min.js:2
fireWith @ jquery.min.js:2
x @ jquery.min.js:4
b @ jquery.min.js:4
XMLHttpRequest.send (async)
(anonymous) @ VM10682:1
send @ jquery.min.js:4
ajax @ jquery.min.js:4
nmsData._genericUpdater @ nms-data.js:272
nmsData.updateSource @ nms-data.js:212
nmsData.addHandler @ nms-data.js:173
trafficInit @ nms-map-handlers.js:271
setUpdater @ nms.js:253
detectHandler @ nms.js:428
initNMS @ nms.js:409
(anonymous) @ (index):332
nms-map-handlers.js:284 Uncaught TypeError: Cannot read property 'switches' of undefined
    at Object.trafficUpdater [as cb] (nms-map-handlers.js:284)
    at Object.success (nms-data.js:298)
    at j (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at x (jquery.min.js:4)
    at XMLHttpRequest.b (jquery.min.js:4)