Commit graph

78 commits

Author SHA1 Message Date
Simone Mainardi
7b106473d4 Cleanup of get_grouped_hosts_data.lua to remove unused host_pools_utils.lua 2020-07-16 14:26:49 +02:00
Simone Mainardi
5ade224d85 Implements global host pools
Implements #4086

Refactors host pools to global

Implements host pools migration

Migration fixes

nEdge changes for host pools migration

Create README.host_pools_migration.md
2020-07-01 12:02:09 +02:00
emanuele-f
ba5c64b107 Rework host label getters
This fixes inconsistencies across the ntopng gui

Addresses #3699
2020-05-07 17:47:18 +02:00
gabryon99
7479582210 fix system view and add rtt host from host_details 2020-03-23 17:38:22 +01:00
emanuele-f
d1140ec9fd Avoid timeseries read operations to display the chart icon
Now the icon is displayed whenever the timeseries are enabled for the given context
2020-02-19 13:27:20 +01:00
Luca Deri
170bc60f19 Updated (C) 2020-01-08 23:52:51 +01:00
Simone Mainardi
dacaa7e3db Migrates font-awesome 5 fa to fas 2019-12-18 11:50:02 +01:00
Simone Mainardi
7402bbdd14 FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
Simone Mainardi
2639d49e4a Bootstrap migration progress bars 2019-12-05 09:27:47 +01:00
Simone Mainardi
3bfedf8f4c Implements ThroughputStats and reworks GenericTrafficElement 2019-09-03 11:07:21 +02:00
Simone Mainardi
74c545d079 Uses stats rather than grouped hosts data for network stats 2019-08-19 17:39:51 +02:00
Emanuele Faranda
c829c4c3c3
Unify os (#2755)
* Unify OS information.

Now OS information is only stored into the Host. The lua uses numeric IDs to handle OS.

* Fix network discovery OS

* Show OS detail into the host details page
2019-08-08 12:09:51 +00:00
emanuele-f
54becd3b22 Add local networks alias configuration
Closes #2476
2019-03-25 16:50:48 +01:00
emanuele-f
31db15602e Fix country page stats refresh 2018-08-09 11:31:00 +02:00
Simone Mainardi
e8ce180c93 Fixes wrong hosts retrv by OS, network, and country 2018-08-04 19:41:01 +02:00
Simone Mainardi
46f89a69d2 Fixes wrong hosts retrv by pool id 2018-08-04 19:16:27 +02:00
Emanuele Faranda
4cbe45a948
New pro charts features and timeseries api (#1865)
* Integrate modified nvd3 library with zoom and multicharts working support

* Fix count in RRD driver

* Initial chart ajax migration

* Update nvd3 with zoom stack support

* Fix RRD listSeries with directories

* Work in progress graphs

* Compatibility fix

* Initial support for schema based api

* Add missing script

* Fix listSeries for existance check

* Implement topk timseries api

* Implement topk queries and fix labels and formats

* Migrate interface top sender and receivers

* Migrate charts to new API

* Move timeseries list for menu inside respective scripts

* Add support for extended labels

* Fix missing fields while chaning graph resolution

Also Rename drawRRD in drawGraphs

* Fix historical tabs

* Add missing time fence in influx topk

* Add graphs support for custom statistics visualization

* Initial support for graphs statistics footer

* Implement statistics in single graphs for RRD driver

* Move sampling function into the driver and fix graph statistics

* Fix max/min value offset

* Implement influxdb sampling use built-in FILL

* Implement stats and total serie in influxdb driver

* Update nvd3 with multiChart fixes

* Update nvd3 with new multiChart fixes

* RRD driver fixes

* Move metrics type from single metric to schema

* Handle ajax errors and empty data in charts

* Fix flow device interfaces graphs

* Use timeserie label as timeseries dropdown text

* Implement topk aggregation into one data serie

* ts_utils module now provides all the schemas

* Migrate ntop.exist(rrd) to ts_utils.exist

* Fix timeseries dropdown label

* L4 protos fixes for charts

* Migrate getProtoVolume to new API

* Integrate nvd3 fix for tooltip position

* Initial community graphs migration to timseries API

* Fix community timeseries dropdown and historical tabs

* Hide total serie by default

* Remove l4 protos from topk charts
2018-07-18 15:09:19 +02:00
emanuele-f
02cec8a2be Remove host macs and show source macs instead 2018-03-23 14:42:21 +01:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
emanuele-f
4767789b1a Implement country charts for inner, egress and ingress traffic 2018-03-15 18:35:51 +01:00
Simone Mainardi
45e2de0108 Hosts and pools sctive counts for flows and dropped flows 2017-12-14 18:19:48 +01:00
Simone Mainardi
2e6fa7cf27 Per-category flow filtering capabilities 2017-12-11 20:18:55 +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
d5e36e87f4 Adds an Active Flows page to the AS details 2017-10-09 12:54:06 +02:00
emanuele-f
6cdcc0ffac Unify host and mac device types
Now the device type is a layer-2 concept and as such is stored into the Mac objects
2017-08-16 18:18:02 +02:00
emanuele-f
2a4d7e0e1d Add pool graphs links in other pages, hide if disabled from preferences 2017-06-05 19:13:53 +02:00
emanuele-f
d3debf04ef Only show host pools graph icon if there is graph data or we are in bridge mode 2017-05-29 10:56:29 +02:00
emanuele-f
1c38df48c9 Unify character encoding header code 2017-05-04 17:12:06 +02:00
emanuele-f
2e61d5babc Fix uninitialized vlan_filter 2017-04-11 17:33:12 +02:00
Simone Mainardi
4aa4212630 Implement OOO/Retransmissions Stats
Implements #1072

Additional implementations:
- l7 statistics for networks

Additional fixes and improvements:
- local networks traffic statistics were saved twice
- 5min.lua was not properly coded to keep into account user
preferences
_ 5min.lua has been simplified

TODO:
- ooo / retransmissions / lost counters should be accounted in the C engine or
serialized to disk as idle hosts may determine a decrease in the
aforementioned counters.
2017-04-05 19:34:58 +02:00
emanuele-f
d8d0d4e381 Enable HostPools statistics dump and quota for Not Assigned pool. 2017-04-03 12:33:20 +02:00
emanuele-f
b8c4145fcd Implement bytes and ndpi stats for ASN 2017-03-24 17:48:52 +01:00
emanuele-f
777934eea5 Add IP version selection dropdown into network_stats and simplify hosts_stats title generation 2017-03-24 12:23:36 +01:00
Simone Mainardi
796d503c89 Restores broken VLAN rrds 2017-03-23 22:47:53 +01:00
Simone Mainardi
52afd7dbf9 Implements Local Networks Sort
Fixes #1016
2017-03-10 13:31:50 +01:00
emanuele-f
3bb68a0f2f Fixes #1016 2017-03-07 12:06:09 +01:00
Emanuele Faranda
afdfac1c9c Lua scripts parameters validation (#970)
* partial work

* Migrate 'mode' parameters

* Migrate alerts types

* Fix some interface ids

* Partial work

* Partial work

* End of work for _GET parameters

* Work in progress

* Add support for special parameters

* Preferences validation

* Fixes and improvements

* Enforce interger validation
2017-02-08 12:25:35 +01:00
emanuele-f
05d4956fbd Adds missing quotes to href attributes 2017-02-02 15:52:09 +01:00
Simone Mainardi
e5a57d93ad Fixes for host pools historical stats 2017-01-26 14:41:14 +01:00
emanuele-f
5f7762ade5 Implement Redis Host Pools counters dump 2017-01-26 12:19:12 +01:00
emanuele-f
746d481602 Remove unused parameter causing hosts number mismatch 2017-01-26 11:53:24 +01:00
emanuele-f
5c305ba6a1 Add GUI side support for host pools stats 2017-01-26 11:53:24 +01:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
Luca Deri
3810978773 Added MAC address icon guess 2016-10-15 12:46:01 +02:00
Simone Mainardi
031c4c4d4f Optimizes mac manuf id <-> manuf name cache 2016-10-08 17:31:05 +02:00
Luca Deri
cba2a4440b Reworked Mac address families display 2016-10-07 23:32:19 +02:00
Luca Deri
f156b64786 Tiny network device changes 2016-10-07 09:38:55 +02: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
97b19c1461 Introduced the concept of Mac hosts (it used to be mixed with L3 hosts). More work is needed to add L2 stats
Host activities are now enabled (and memory allocated) only for local hosts. Fixed bug in activities preferences
Cleaned up various methods
Removed some old unused code
2016-10-02 19:43:13 +02:00
Simone Mainardi
c770d413e3 Adapts the Web UI to browse pcap dumps 2016-09-21 16:01:33 +02:00