[patch] lastHourTopTalkers shows incorrect data
Brought to you by:
cardigliano,
lderi
I was looking for application drawing historical graphs of max throughput usage per host. Ntop gives me this functionality and much more. Thanks for great tool!
I found out that graphs in lastDayTopTalkers looks quite similar to last day throughput graph but lastHourTopTalkers are completly different to last hour throughput graph. Stats in table below graph are also different from real thoughput usage for hosts.
In updateDeviceThpt() function 1 minute throughputs are handled in different way than 1 hour throughput. I've changed them to be computed like 1 hour throughput. I'm not sure if this change will not broke something else but now graphs show what I'm looking for.
Please consider applying my patch.
View and moderate all "feature-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Feature Requests"
Patch to r5644
View and moderate all "feature-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Feature Requests"
Cheers, Arek Burdach
Edit by another user cause I can't find the new post button. There is a missing comma in this patch on line 10 after 'time5minDiff'.
Last edit: Anonymous 2013-02-12