Commit graph

36 commits

Author SHA1 Message Date
Luca Deri
a1178a0791 Updated (C) 2021-01-02 12:08:23 +01:00
Alfredo Cardigliano
c5b308618b Cache host labels 2020-07-01 18:34:45 +02:00
Simone Mainardi
d5166394a5 Fixes possibly clashing interface ids after interface data deletion
Fixes #3963
2020-05-20 11:29:53 +02:00
emanuele-f
d43d4e5e74 Make DHCP names cache expire after 1 day
Addresses #3641
2020-05-08 10:15:31 +02:00
gabryon99
4c692e2c6e formatted manage_data page and added new style, fix for #3536, #3537, #3538, #3539 2020-03-10 22:34:51 +01:00
Luca Deri
170bc60f19 Updated (C) 2020-01-08 23:52:51 +01:00
emanuele-f
3a6897bb84 Community plugins fixes 2019-12-10 11:48:03 +01:00
emanuele-f
03cec7d831 Add harvestDateBasedDirTree more log traces 2019-07-23 15:12:38 +02:00
emanuele-f
a3e1744353 Fix system interface timeseries cleanup 2019-07-05 16:26:33 +02:00
emanuele-f
6d7f108c14 Fix system interface alerts delete 2019-07-04 18:04:14 +02:00
emanuele-f
0748ef191d Initial system interface data delete 2019-07-04 11:09:33 +02: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
0065eb9cd4 Fix possibly nil day in delete_data_utils.harvestDateBasedDirTree 2019-02-18 12:05:41 +01:00
Simone Mainardi
d187b82560 Properly handles Host os without shadows 2019-01-25 14:28:15 +01:00
Emanuele Faranda
1bf7da7ef7 Implements Mac stats/data reset and reset at midnight (#2326)
* Host data/stats delete improvements

* Rework mac counters and implemtent mac stats/data reset

* Implement stats reset at midnight

* Add missing files
2019-01-21 17:27:12 +01:00
emanuele-f
2dbf1e9cb8 Rework host counters and implemtent host stats/data reset 2019-01-18 19:31:16 +01:00
emanuele-f
8cdf051d77 Initial work for host data reset 2019-01-08 12:43:54 +01:00
emanuele-f
73fe73c0d9 Fix users and other prefs deleted during nEdge data reset 2019-01-03 15:46:31 +01:00
emanuele-f
11a99722e0 Implement network data delete
IPv4 network masks /24 to /32 are now supported.

Fix #2257
2019-01-02 13:09:48 +01:00
emanuele-f
7b67279a0f Move nindex specific code to pro 2018-12-13 11:27:26 +01:00
Alfredo Cardigliano
931070804c Storage status in the interface page (rrd, flows index, pcap)
recording_utils.storageInfo now returns everything in bytes
Added getFolderSize to lua utils
Added rrd_utils.storageInfo
2018-12-12 14:44:41 +01:00
emanuele-f
3532d90a86 Implement flows index retention 2018-12-10 15:06:46 +01:00
Alfredo Cardigliano
1ecbb2d72d reworked delete_host logging to provide a link to the host 2018-12-07 12:16:23 +01:00
Alfredo Cardigliano
bc7283ce3f Tracking more user activities: alerts deleted, all/inactive/interface data deleted, host data deleted, all/host data exproted 2018-12-05 04:36:30 +01:00
Alfredo Cardigliano
610cb69b9c builtin packet dump code cleanup (moving to continuous recording) 2018-10-25 09:56:52 +02:00
Simone Mainardi
4f3f91c04a Deletes possible pcap dump interfaces from the inactive cache 2018-10-12 10:25:59 +02:00
Simone Mainardi
f30e042cfc Implements data cleanup for pcap interfaces
Implements #2092
2018-10-11 18:10:30 +02:00
Simone Mainardi
0fd9b75ae2 Adds captive portal users deletion upon nEdge data reset 2018-10-04 16:33:20 +02:00
Simone Mainardi
5a36c9cd78 Implements data deletion for active interfaces
Implements #2042
2018-10-03 12:44:32 +02:00
Simone Mainardi
bf43aceb9c Refactors data delete_data_utils for the use with nEdge 2018-09-20 10:47:41 +02:00
Simone Mainardi
3ffcdcc021 Checks errors in inactive interface deletion
Implements #2008
2018-09-13 16:27:06 +02:00
emanuele-f
ffe2c629bc Implement timeseries cleanup
Closes #1940
2018-09-11 17:16:56 +02:00
Simone Mainardi
bd27304c54 Implements data cleanup for inactive interfaces
Implements #1971
2018-09-07 15:55:14 +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
Simone Mainardi
c1c3c49b45 Improves error handling and visualization upon data deletion 2018-05-15 12:06:04 +02:00
Simone Mainardi
8347406b63 Implements deletion of host persistent data 2018-05-14 19:47:49 +02:00