Alfredo Cardigliano
da6f1c354d
Add system stats REST endpoint. Load disk space utilzation via AJAX ( fix #3421 )
2020-02-16 11:01:04 +01:00
Alfredo Cardigliano
e2f0d36d2f
Moved hostpool endpoints
2020-02-06 11:20:30 +01:00
Alfredo Cardigliano
2ab9cc14ad
Host pool import/export buttons, endpoint improvements
2020-02-06 11:03:56 +01:00
Alfredo Cardigliano
c2d61e67e9
Host pool export endpoint
2020-02-05 18:28:19 +01:00
Alfredo Cardigliano
30ff92d472
Fix user reset for ZMQ counters
2020-01-23 17:04:52 +01:00
Alfredo Cardigliano
3ce84b07cf
Add button to export user script conf. New endpoint to set user scripts configuration.
2020-01-15 17:48:00 +01:00
Alfredo Cardigliano
4a1d217d3a
Rest endpoint to export user scripts configuration
2020-01-15 11:58:09 +01:00
Alfredo Cardigliano
f4a4c07d80
Add ability to extract traffic to users with permission (direct extraction only)
2020-01-13 17:39:12 +01:00
Luca Deri
170bc60f19
Updated (C)
2020-01-08 23:52:51 +01:00
Simone Mainardi
b44de6e18d
Implements discarded probing traffic counters and timeseries
2019-12-31 16:01:24 +01:00
emanuele-f
a3432e00e8
Implement ntopng plugins
...
Plugins are a convenient way to group together related lua scripts.
Their primary use case is to group user scripts and their alert/status
definition.
The builtin ntopng user scripts and definitions are now
packed into plugins directories. In future, we will support loading of
user created plugins.
Plugins are loaded at startup into some runtime directories and then
used. Other changes provided by this commit include:
- Add sample flow logger plugin
- Initial support for system user scripts
- Rename edge to threshold
- Migrate system probes to user scripts/plugins
- Migrate scripts to more explicit alerts_api.checkThresholdAlert api
2019-12-10 09:25:57 +01:00
emanuele-f
33949d31fd
Rework benchmark stats and charts
2019-10-31 17:48:53 +01:00
emanuele-f
e978a83151
Improve user scripts charts
...
Fixes #3020
2019-10-31 13:30:24 +01:00
emanuele-f
34c196d99e
User scripts stats improvements
2019-10-30 10:53:54 +01:00
emanuele-f
63660b59f4
Add stacked top user scripts chart
2019-10-29 16:36:00 +01:00
emanuele-f
10aa5542f8
Rework alertEntity functions to avoid modules circular dependencies
...
Fixes #2975
2019-10-23 13:01:57 +02:00
emanuele-f
b217909966
Split flow status definitions in multiple files
2019-10-15 17:28:45 +02:00
emanuele-f
2fdc860ed2
Add support for custom flow alerts in user scripts
2019-10-11 19:48:11 +02:00
emanuele-f
d7632494dd
Fix additional point in past series
2019-09-20 18:49:28 +02:00
emanuele-f
6e138b8bd4
Fix mismatched number of points between current and past series
2019-09-20 18:49:28 +02:00
Simone Mainardi
7f150ef407
Implements alerted flows counters and shows them in the footer
...
Implements #2863
2019-09-19 15:15:32 +02:00
emanuele-f
d29bb578c0
Add last-timestamp check to avoid adding invalid 0 points in the charts
...
The issue occurred in InfluxDB due to a delay between buffering and actual export.
This possible addresses #2853
2019-09-16 20:04:30 +02:00
Simone Mainardi
72ebd961c9
Adds ZMQ total message and avg flows/msg counters
2019-09-09 12:57:04 +02:00
emanuele-f
c97ef3d908
Implement host MUD recording and dump
2019-09-04 21:20:52 +02:00
Simone Mainardi
ca56f94cef
Implements per-interface updateStats variable frequency
2019-09-04 19:27:55 +02:00
Simone Mainardi
b86378bca3
Implements ul/dl thpts in C and reworks the footer to use them
2019-09-03 18:56:23 +02:00
Simone Mainardi
a5b5510290
Adds bytes and packets throughput to NetworkInterface
2019-09-03 17:16:47 +02:00
emanuele-f
ee9e5ec9de
Unify alerts and alerts notifications format
2019-07-30 18:12:58 +02:00
emanuele-f
c183a577be
Alerts API cleanup and JSON migration
2019-07-29 15:17:22 +02:00
emanuele-f
3383ac0913
Implement dropped alerts per-interface counter
2019-07-18 17:29:05 +02:00
Alfredo Cardigliano
a76059bb11
Added ifid to rest/get/interface/data.lua
2019-07-16 10:22:10 +02:00
Alfredo Cardigliano
9687f6f5f1
Fix footer stats
2019-07-15 19:20:58 +02:00
Alfredo Cardigliano
1a23ccb07f
Using interface name in 'ifname', fixes #2719 #2720
2019-07-15 17:40:56 +02:00
Simone Mainardi
28d869f481
Fixes interface selection in rest/get/interface/data under Windows
2019-07-03 17:30:03 +02:00
emanuele-f
a9d3c78587
Alerts changes
...
NOTE: database schema changed. Existing alerts will be lost.
- Unified engaged and closed tables
- Simplified hosts engaged alert counters handling: periodically set by lua
- Removed alert engine and replaced with alert periodicity
- Now engage is implicitly derived from the alert end timestamp and periodicity
- New alerts_api.lua to easily emit alerts
- Removed past alerts counter aggregation by hash
- Alert notifications for non-flow alerts are now removed from C and triggered by lua
2019-06-28 10:47:17 +02:00
emanuele-f
f9f341b2ca
Add preference to enable l7 total flow timeseries
2019-06-27 10:01:12 +02:00
emanuele-f
c506ef6aeb
Implement L7 num flows charts
2019-06-27 10:00:14 +02:00
Simone Mainardi
2200453862
Adds badge upon influxdb export errors
2019-06-26 16:29:08 +02:00
Simone Mainardi
4230d28f69
Fixes missing host JSON parts from /lua/rest/get/host/data.lua
...
Fixes #2674
2019-06-21 14:29:29 +02:00
emanuele-f
43078c6758
Fix continuos queries not created on system scripts ts
2019-06-07 19:44:21 +02:00
emanuele-f
1d6d52b4ea
Rework system probes (now called system scripts)
2019-06-07 11:31:44 +02:00
emanuele-f
322bae547c
Initial work towards generic system probes
...
Also implements InfluxDB latency chart as a POC
2019-06-06 21:16:26 +02:00
Alfredo Cardigliano
79c8da25d8
Added ifid param to rest/get/alert/data.lua
2019-04-29 19:15:24 +02:00
emanuele-f
9d09d2e616
Improve timeseries documentation
...
Hopefully the docs are now more usable for a beginner
2019-03-05 19:27:31 +01:00
emanuele-f
75747407dc
Fix automatic abort in timeseries table
2019-02-28 10:15:29 +01:00
emanuele-f
4a97017f35
Fix mac-based serialization key and add a preference to enabled it (disabled by default)
2019-02-22 16:01:58 +01:00
emanuele-f
5089e4dabe
Timeseries charts fixes
2019-02-22 11:16:41 +01:00
emanuele-f
dd37cafa12
Store and restore local broadcast domain hosts from their mac key
...
Charts now display the mac based data when browsing a local broadcast domain host.
This is an important change to avoid mixing historical information of different hosts in a dynamic network.
More changes will follow to migrate other historical elements, like flows, alerts and top stats.
2019-02-21 18:42:57 +01:00
emanuele-f
ee236edcd2
Add badge color for l2 devices
...
Fixes #2398
2019-02-19 10:47:36 +01:00
emanuele-f
29c6f1e1b2
Show minus sign when a binary indicator is not available in the selected point
...
Closes #2378
2019-02-18 13:12:39 +01:00