Commit graph

8 commits

Author SHA1 Message Date
Simone Mainardi
677d32672d Fixes a nil-key table access
The following error has been fixed:
28/Dec/2015 11:40:02 [Lua.cpp:4447] WARNING: Script failure [/Users/simone/code/ntopng/scripts/callbacks/minute.lua][...s/simone/code/ntopng/scripts/lua/modules/top_talkers.lua:221: table index is nil]
2015-12-29 09:33:55 +01:00
Luca
5e556396d1 Implemented dummy interface (-i dummy) to be used only for debugging purposes for testing low-memory conditions and internal routines.
Updated scripts that were still using old API calls
2015-12-28 23:16:54 +01:00
Simone Mainardi
4d07a743ac refactored and verified minute top talkers generation code 2015-10-06 22:24:25 +02:00
Luca Deri
7e220133a5 Fixed some Lua errors that caused some scripts to fail and this prevent reports from being properly displayed (e.g. the ASNs report in the dashboard) 2015-08-27 00:42:41 +02:00
Arianna Avanzini
6633f21bdd scripts/lua/modules: always show "Other" talker
This commit lets the "Other" talker be always shown in the top talkers
report of a web interface if its traffic value is not zero. This also
lets the "Other" talker accumulate traffic also for hosts above the
maximum number of top talkers.
2015-07-30 21:58:12 +02:00
Arianna Avanzini
42fe686df8 modules/top_talkers.lua: fix issue with json format for top talkers
This commit addresses a bug that was recently introduced in the top
talkers json when adding the "Other" talker.
2015-07-30 21:55:18 +02:00
Arianna Avanzini
3bf1897acf top_talkers.lua: add "Other" top talker for remaining talkers
This commit adds to the retrieved top talkers a final entry
grouping stats for all remaining talkers which are not included
in the top ones. This helps get a feeling of the proportion
between the traffic of the top talkers and that of other talkers.
2015-07-17 01:21:24 +02:00
Luca
730d76b9f5 Initial import from SVN 2015-04-30 12:22:35 +02:00