Commit graph

62 commits

Author SHA1 Message Date
Alfredo Cardigliano
cccd0be9e0 using as default /var/lib/ntopng/<ifid>/{pcap,timeline} as default path, using ntopng.prefs.ifid_<ifid>.traffic_recording.* as redis keys 2018-10-15 10:53:39 +02:00
Alfredo Cardigliano
e9149d8806 footer badge when running traffic recording, logs page, --storage-dir option renamed to --pcap-dir 2018-10-12 18:09:35 +02:00
emanuele-f
6e5c972ead Fix wrong interface stats returned in network_load 2018-10-08 09:51:56 +02:00
emanuele-f
433cbb3142 Fix custom interface speed not accounted in ts_common.getMaxPointValue 2018-09-11 13:06:44 +02:00
Simone Mainardi
bd4252d727 Live pcap download security fixes 2018-08-14 17:57:42 +02:00
Simone Mainardi
db5aabb611 Prevents large MySQL exports that could cause Lua OOMs 2018-08-10 15:50:28 +02:00
Luca Deri
30e22c3a71 Implemented multiple-pcap file download and monitor 2018-08-08 14:06:25 +02:00
Simone Mainardi
f7fdc40c72 Major nEdge code cleanup 2018-08-06 17:54:25 +02:00
Simone Mainardi
fd42cfd0cb Implements Netfilter queue monitoring 2018-06-15 12:07:22 +02:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
Simone Mainardi
8b1dfdeac3 Fixes footer display of flow counters 2018-03-05 11:18:40 +01:00
emanuele-f
674a7524a0 Fix invalid number of hosts/flows when user networks are restricted
Fixes #1296
2018-03-01 17:11:10 +01:00
Emanuele Faranda
b827f5cf0b Fix footer on nedge 2018-01-30 09:47:32 -05:00
emanuele-f
0a064fe4da Fix invalid ds name 2017-11-08 16:49:49 +01:00
Simone Mainardi
5809e7500a Fixes JSON encoding issues 2017-10-17 14:11:43 +02:00
Simone Mainardi
fe297fe3c1 Fixes dashboards with newely arriving dynamic interfaces
Fixes #1493
2017-10-16 19:20:21 +02:00
Simone Mainardi
5955ee576c Handles multiple banaced ZMQ endpoints 2017-09-05 10:18:04 +02:00
Simone Mainardi
c4789741a8 TimeZone fixes for the historical data explorer
Fixes #1415
2017-09-01 11:37:26 +02:00
Simone Mainardi
802f760fb9 Implements Active Local Hosts counter and display 2017-05-23 22:15:52 +02:00
Simone Mainardi
1001c35df8 Implements CPU load average 2017-05-12 18:22:26 +02:00
emanuele-f
ca1d85c94e Make interface realtime refresh rate configurable 2017-05-08 12:23:52 +02:00
emanuele-f
1c38df48c9 Unify character encoding header code 2017-05-04 17:12:06 +02:00
Bogdan Perian
90743b953a Logstash flow export extension 2017-03-25 21:09:07 +02:00
Simone Mainardi
52afd7dbf9 Implements Local Networks Sort
Fixes #1016
2017-03-10 13:31:50 +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
Simone Mainardi
6b03576d1d Fixes realtime traffic dashboard for ZMQ interfaces
Addresses #958
2017-02-06 18:14:30 +01:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
Simone Mainardi
f349ca344e Reworks alerts menu 2016-12-28 19:54:05 +01:00
Simone Mainardi
eca2c41049 Reworks alert counters (WIP)
Alert counters are now kept in sync only for engaged alerts.
Each host will show the current number of engaged alerts.
This alleviates the complexity of constantly keep the numbers
synchronized with the database.

Todo: see how to handle counters for flow alerts and past alerts.
2016-12-24 16:21:50 +01:00
Simone Mainardi
482c2ca834 Implements counter resets
This commits adds two reset buttons to the interface page.

One button allows the reset of all interface counters, namely,
packets and bytes received, packets dropped, and the number of
flows exported and dropped (when mysql or elasticsearch is enabled).

The other button allows the reset of only the drops.
2016-12-21 12:48:04 +01:00
Luca Deri
3892eacd6a Computed ZMQ message drops reported in the interface stats. The latest nprobe is required for ZMQ stats otherwise the value will be zero 2016-12-17 17:09:19 +01:00
Simone Mainardi
a8c00f785d Changes alert badges colors on the basis of severity
Implements #829
2016-11-25 12:46:25 +01:00
Simone Mainardi
156a39c645 Caches alerts counts to reduce queries 2016-11-21 15:41:07 +01:00
Luca
bbfcc42994 Reworked locales and menu 2016-11-17 19:38:41 +01:00
Luca Deri
1f8e05d750 Added TZ in pages footer 2016-11-14 21:03:16 +01:00
Luca Deri
65239694a9 Added ZMQ flow stats
Removed unused interface drops method
2016-11-10 21:10:56 +01:00
Simone Mainardi
1d8ae7ede7 Fixes missing chart with view interfaces 2016-10-15 15:21:13 +02:00
Luca Deri
7d4a712ec7 Reported number of devices in ntopng footer 2016-10-08 20:48:23 +02:00
Simone Mainardi
a280e53862 Completes the migration to the stateful alerts 2016-09-06 16:36:05 +02:00
Simone Mainardi
bca1e0a126 Implements MySQL flow export statistics 2016-08-29 09:41:55 +02:00
Simone Mainardi
e8707bcaa9 Implements counters for export dropped flows (wip)
ntopng optionally exports flows to MySQL or ES. This change
keeps track of possible drops (e.g., due to a slow mysql server)
and shows them to the user.
2016-08-26 19:27:46 +02:00
Luca Deri
bd45142fa9 Typedef change 2016-08-10 15:54:23 +02:00
Luca Deri
a3d36634e3 Code cleanup 2016-08-10 15:53:39 +02:00
Luca
fdf1384081 Fixes after merge 2016-08-10 09:46:05 +02:00
Luca
bcadcf033f Removed view interface (work in progress will be reintroduced after cleanup) 2016-08-10 09:37:10 +02:00
Simone Mainardi
0b1f12f928 Improves jsonencode function 2016-08-09 18:17:39 +02:00
Simone Mainardi
52abb7659a Handles per-interface alerts via the AlertsManager
This commit moves the global ntopng-wide alerts to
interfaces' AlertsManager s
2016-08-09 16:47:36 +02:00
Simone Mainardi
1fd53f9c24 Converts network_load.lua response to standard (properly escaped) JSON 2016-08-08 19:31:51 +02:00
Simone Mainardi
60266edfd3 Fixes an interface naming issue on windows
TODO: check if other parts are affected.
The issue is caused by windows that names intefaces such
as \Devices\PF_{xxx} and backslashes invalidates the json
2016-07-26 20:08:00 +02:00
Simone Mainardi
128c11652c Implements alerts toggle from the web interface 2016-07-22 18:56:07 +02:00