Commit graph

22 commits

Author SHA1 Message Date
Simone Mainardi
c40bfb1a8e Implements custom column in the hosts stats page 2019-02-20 12:14:34 +01:00
Luca Deri
0108eaf473 Added debug code for evaluating anomalies 2019-02-04 13:15:35 +01:00
emanuele-f
2dbf1e9cb8 Rework host counters and implemtent host stats/data reset 2019-01-18 19:31:16 +01:00
Luca Deri
bedff2c8e2 Updated (C) 2019-01-07 19:28:49 +01:00
Simone Mainardi
859e85c7ce Fixes C to Lua integer types conversions affecting OS X 2018-11-23 15:58:38 +01:00
Emanuele Faranda
4ae68f9e44 Fix uninitialized fields in GenericTrafficElement copy constructor
Fixes #2080
2018-10-03 17:35:46 +02:00
Simone Mainardi
889729495e Implements support for collected custom applications 2018-10-01 00:22:49 +02:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
Simone Mainardi
503e367864 Implements dropped flow informative alerts 2017-12-14 18:47:52 +01:00
Simone Mainardi
45e2de0108 Hosts and pools sctive counts for flows and dropped flows 2017-12-14 18:19:48 +01:00
Emanuele Faranda
1d3812a19f Add method to reset traffic stats 2017-11-06 11:48:34 +01:00
Emanuele Faranda
ce4e5677c6 Fix host pools traffic stats reset after reloadPools 2017-11-04 23:35:11 +01:00
Simone Mainardi
58256e12f3 Implements per-MAC host pool counters
Fixes #1511
Implements #1478
2017-10-13 12:42:21 +02:00
Simone Mainardi
7a1a28f5e8 Implement per-host/mac/pool drop flow count (backend)
Implements #1500
2017-10-06 16:43:42 +02:00
Simone Mainardi
bf0df0be7c Prevents zero-divisions in GenericTrafficElement throughput calc.
Attempts to fix #1446
2017-09-26 14:44:53 +02:00
Simone Mainardi
468c201f6a Possible fix for get_hosts_data exception
Fixes
17/Sep/2017 19:34:36 [Lua.cpp:6783] WARNING: Script failure [/usr/share/ntopng/scripts/lua/get_hosts_data.lua][/usr/share/ntopng/scripts/lua/get_hosts_data.lua:186: table index is NaN]

...
         elseif(sortColumn == "column_thpt") then
            vals[hosts_stats[key]["throughput_"..throughput_type]+postfix] = key
...

reproducible with

> a = {}
> a[0/0] = 123
stdin:1: table index is NaN
stack traceback:
	stdin:1: in main chunk
	[C]: in ?
>
2017-09-18 00:53:15 +02:00
Simone Mainardi
fd8ee25641 Code refactoring to simplify stats reset 2017-08-01 15:39:00 +02:00
Simone Mainardi
5014669d12 Implements Autonomous Systems hash table 2017-04-19 23:19:16 +02:00
Simone Mainardi
e5a57d93ad Fixes for host pools historical stats 2017-01-26 14:41:14 +01:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
Luca Deri
603c642469 Improved mac address support
Added host icons with their role in the netwokr
2016-10-03 23:16:40 +02:00
Luca Deri
a98e42715b Reworked Host and Mac stats 2016-10-03 13:33:00 +02:00