ntopng icon indicating copy to clipboard operation
ntopng copied to clipboard

interface details (if_stats.lua) loosing control values when changing something

Open MrdUkk opened this issue 7 months ago • 0 comments

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?

  1. select some interface from a comobox in upper left corner of ntopng web UI.
  2. select Last Week at first combobox.
  3. select traffic (tx/rx) in left combobox under previous one
  4. u see some chart
  5. click blue button manage timeseries
  6. remove checkmark present on "Past' checkbox
  7. click apply on this dialog window.
  8. u see some chart again
  9. click on combobox and select traffic instead of "traffic (tx/rx)" previously
  10. observe that configured 'manage timeseries" removed Past checkbox again enabled. that is very annoying
  11. now again try to select timerange 'last week' in time control
  12. click on left or right arrow (shift time interval left/right)
  13. 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.
  14. 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.

MrdUkk avatar Jul 18 '25 08:07 MrdUkk