Commit graph

84 commits

Author SHA1 Message Date
Alfredo Cardigliano
186e7c2a4b nbox integration cleanup 2018-10-23 13:00:35 +02:00
Simone Mainardi
db5aabb611 Prevents large MySQL exports that could cause Lua OOMs 2018-08-10 15:50:28 +02:00
Simone Mainardi
b5f96cf86a Implements allowed networks for database flows
Implements #1886
2018-08-07 19:38:05 +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
05322c25be Remove debug print 2018-04-17 09:24:49 +02:00
Luca Deri
00004494bf Reworked alarms
Added informative message at ntopng startup/shutdown
2018-04-13 17:19:58 +02:00
emanuele-f
392bd7040a Extends ntopng localization 2018-02-09 19:34:02 +01:00
Simone Mainardi
990915f3b3 Handles VLANs and traffic profiles in db queries
Fixes #1320
Fixes #946
2017-07-25 18:52:56 +02:00
emanuele-f
6f366cd60d Fix broken historical alerts explorer 2017-05-29 23:58:22 +02:00
Simone Mainardi
26db65ddf7 Implements links for the historical db explorer 2017-05-25 11:53:46 +02:00
Simone Mainardi
d45b22cf44 Hides IPv4/IPv6 tabs when no search results are available 2017-05-24 19:11:22 +02:00
Simone Mainardi
3403d41090 Minor fixes for flow explorer messages 2017-05-10 22:49:57 +02:00
Simone Mainardi
ffd45a6e41 Reworks Historical Flow Explorer UI to query on aggregated flows tables 2017-05-10 12:54:24 +02:00
Simone Mainardi
5416dcd711 Implements DB queries on the aggregated data (WIP) 2017-05-09 18:56:55 +02:00
emanuele-f
83f18227f7 Threshold configuration page improvements 2017-05-08 20:55:52 +02:00
emanuele-f
86a187e182 Flashstart dump fixes 2017-05-07 20:09:14 +02:00
emanuele-f
1e4068b798 Fix some visualization problems 2017-05-04 20:07:52 +02:00
valentina
4dfa9cb2f3 Changed calls from sudowrapper to run script (nbox integration) 2017-04-26 19:09:39 +02:00
emanuele-f
d31b5da32a Complete historical explorer localization 2017-04-19 18:09:41 +02:00
emanuele-f
865ef16183 Partial historical explorer localization 2017-04-05 23:16:43 +02:00
Josh Soref
78e78c018c Fixes spellings and typos
Thank goes to
Josh Soref <jsoref@users.noreply.github.com>
2017-03-06 17:54:48 +01:00
Luca Deri
29dd494321 Removed un-necessary buttons (IPv4 button with IPv6 traffic and vice-versa) 2017-02-27 19:41:48 +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
Luca
2ba6b7e1bb Implemented redis caching to reduce cache pressure (work in progress)
Rearranged menus
2016-12-30 10:54:59 +01:00
Simone Mainardi
9e840e3178 Fixes a nil value concatenation
Script "/Users/simone/code/ntopng/scripts/lua/get_db_flows.lua" returned an error:
/Users/simone/code/ntopng/scripts/lua/get_db_flows.lua:81: attempt to concatenate local 'l7proto_label' (a nil value)
2016-12-15 23:44:40 +01:00
Simone Mainardi
77c4223fc6 Minor addition to the locales 2016-12-02 19:43:43 +01:00
Simone Mainardi
3613d052f2 Adds i18n for alerts 2016-11-30 20:13:26 +01:00
Simone Mainardi
8f87f11b26 Improves the responsiveness and interactivity of historical exploration
Uses ajax to handle (possibly) long queries on historical data
with the aim of improving user experience.
The user is notified when a query is taking too long so that
he/she can get feedback of what is going on.
2016-10-31 15:56:11 +01:00
Simone Mainardi
982c7c803e Hides the "extract pcap button" for non-packet interfaces 2016-09-16 11:46:40 +02:00
Simone Mainardi
58f1a902ea Disables UI tabs while loading results
This is in order to prevent an impatient user from clicking on
multiple tabs without waiting for the competion of his/her actions
2016-08-25 16:16:24 +02:00
Simone Mainardi
0515516952 Adds the Observation Period in historical Breadcrumbs 2016-07-13 17:58:40 +02:00
Simone Mainardi
6b00fe18b3 Refactors function historicalProtoHostHref 2016-06-15 16:02:57 +02:00
Simone Mainardi
e808cbb78b Hides Ipv4/Ipv6 download buttons when no flows were detected 2016-05-31 10:59:37 +02:00
Simone Mainardi
7b210f527e Fixes a minor issue when parsing integer strings 2016-05-24 18:32:39 +02:00
Simone Mainardi
f100d21083 Fixes historical flow interface for more than 1000 flows 2016-05-24 18:22:03 +02:00
Simone Mainardi
b3be99e97b Fixes number of flows in ajax requests 2016-05-24 12:17:43 +02:00
Simone Mainardi
e12c703464 Implements IN_BYTES / OUT_BYTES for historical protocols 2016-05-24 11:57:12 +02:00
Simone Mainardi
9953cc2328 Implements IN_BYTES/OUT_BYTES in historical data
MySQL schema change has been implemented together with
new historical talkers.
TODO: historical protocols.
2016-05-24 11:08:11 +02:00
Simone Mainardi
b29869c053 Makes the historical perPage results persistent
Implements #515
2016-05-10 18:27:56 +02:00
Simone Mainardi
d46a5b8b5e Refactors historical labels and code to improve readability 2016-04-15 17:05:28 +02:00
Simone Mainardi
12679976dc Adds a flow inspector to the historical top applications 2016-04-14 17:56:07 +02:00
Simone Mainardi
3c0022197e Adds a flow inspector to the historical top talkers 2016-04-14 15:24:38 +02:00
Simone Mainardi
fd4057a270 Improves historical talkers/protocols drill down 2016-04-13 18:13:59 +02:00
Simone Mainardi
05c1209310 Pops-up a window to download flows (and prevents page changes to be lost) 2016-04-13 15:51:23 +02:00
Simone Mainardi
18e8e57db5 Adds ports, l4 and l7 protocols to pcap and flows download 2016-04-04 19:57:22 +02:00
Simone Mainardi
870a08a568 Adds ports, l4 and l7 protocols to historical talkers drill-down 2016-04-04 19:38:57 +02:00
Simone Mainardi
ba5b7a08f7 Extendends direction breakdown for l7 protocols 2016-04-04 16:44:32 +02:00
Simone Mainardi
7f983c3b14 Adds direction breakdown for historical top talkers 2016-04-04 16:01:17 +02:00
valentina
149cdb18c6 Some fixes for ntopng and nbox integration 2016-03-26 17:52:25 +01:00
Simone Mainardi
97c45aef96 Handles netowrk interfaces with integer ids
To prevent possible issues with special characters like /,
interface have been handled in the web UI via integer ids
2016-03-10 17:45:27 +01:00