ntopng
ntopng copied to clipboard
interface details (if_stats.lua) loosing control values when changing something
Environment:
- OS name: Ubuntu
- OS version: 22.04.5
- Architecture: amd64
- ntopng version/revision: 6.4.250522 [Enterprise/Professional build]
What happened: ntopng webui loosing selected timerange and display incorrect statistics. ntopng incorrectly shifting selected time interval
How did you reproduce it?
- select some interface from a comobox in upper left corner of ntopng web UI.
- select Last Week at first combobox.
- select traffic (tx/rx) in left combobox under previous one
- u see some chart
- click blue button manage timeseries
- remove checkmark present on "Past' checkbox
- click apply on this dialog window.
- u see some chart again
- click on combobox and select traffic instead of "traffic (tx/rx)" previously
- observe that configured 'manage timeseries" removed Past checkbox again enabled. that is very annoying
- now again try to select timerange 'last week' in time control
- click on left or right arrow (shift time interval left/right)
- observe that time is changed not on granularly you set (week) but instead on 30minutes boundary only. thats very pain and annoying. My use-case need to fastly see 'whole day' / 'whole week' charts data but i was very painfully need to click-click-click-click a bunch of controls repeatedly for this very simple task.
- observe that traffic counters summary under chart - (Sent/Recv) is different you see on 'top receivers/ top senders'. for example total traffic counters 404Gb and Top receivers/senders you see 1.6Tb, 900Gb..... So lower part of ntopng webui displays incorrect counters. I suspect - timerange is incorrect under the hood. maybe code under that table got incorrect input parameters? I expected to see Top Receivers /Top Senders / Top Applications with options configured upper (last week Traffix Rx/Tx) for example. but probably i see TOTAL traffic without timerange window.
Debug Information: I didn't know what information type is needed. i can provide on request of developers.