Commit graph

5860 commits

Author SHA1 Message Date
Alfredo Cardigliano
fb011bc0af Add missing pool_import_export.lua including pools export and reset (#4433 #4475) 2020-10-02 12:32:04 +02:00
Alfredo Cardigliano
50411c94e4 Add endpoints for exporting pools (wip) and all configurations. Improve the import API to import modules in order. (#4475) 2020-10-02 11:22:55 +02:00
Alfredo Cardigliano
a375a3b925 Add REST return codes CONFIGURATION_FILE_MISMATCH PARTIAL_IMPORT 2020-10-01 19:21:17 +02:00
Alfredo Cardigliano
9eee316238 Skip builtin conf (cannot overwrite it) 2020-10-01 19:10:52 +02:00
gabryon99
02d3665670 reworking for Import/Export UI (#4128)
this commit includes the GUI to manage import/export/reset of SNMP, AM, User Scripts and Notification
2020-10-01 18:57:50 +02:00
gabryon99
f520a2708f removed iold import export related stuff 2020-10-01 18:50:25 +02:00
Simone Mainardi
dac9b41a98 Additional alerts cleanup
Fixes #4504
2020-10-01 18:45:57 +02:00
Simone Mainardi
b7bdd1edaf Massive cleanup of alerts (disabled/suppressed)
Fixes #4504
2020-10-01 18:40:11 +02:00
Alfredo Cardigliano
2fc361d30f Fix notification_configs 2020-10-01 18:20:21 +02:00
Alfredo Cardigliano
5f5c736253 Fix path 2020-10-01 17:20:30 +02:00
Alfredo Cardigliano
2ef958d8df Add Notification Endpoint and Recipients import/export/reset endpoint (#4433) 2020-10-01 15:52:35 +02:00
Alfredo Cardigliano
f627a735c9 Add User Scripts reset endpoint (#4433) 2020-10-01 12:08:12 +02:00
Alfredo Cardigliano
339877a1d8 Add active monitoring reset endpoint (#4433) 2020-10-01 11:50:30 +02:00
Alfredo Cardigliano
221a5f9a63 Add missing endpoint 2020-10-01 11:41:14 +02:00
Alfredo Cardigliano
0e82f5f81b Add reset to the import_export module. Add snmp reset endpoint (#4433) 2020-10-01 10:48:20 +02:00
Alfredo Cardigliano
16b9aa4511 Fix active_monitoring config check 2020-09-30 17:24:37 +02:00
root
2dd86de906 Fix warning print in lint 2020-09-30 16:57:37 +02:00
root
94942826a7 Fix snmp conf export 2020-09-30 16:51:43 +02:00
Simone Mainardi
5133af720f Reworks view interfaces with queues; rework idling and flow hooks exec 2020-09-29 18:30:10 +02:00
Simone Mainardi
c795fdb4e9 Adds trace info upon failing 'plugins_metadata' require
Addresses #4492
2020-09-28 17:57:10 +02:00
gabryon99
06480d3171 add check for empty string on file writing 2020-09-28 15:23:55 +02:00
Simone Mainardi
90a5a57b36 Implements user script queues (avoids 5-sec HT walk) 2020-09-28 11:45:00 +02:00
gabryon99
ed4b29cc99 changed default page to host for manage_pools 2020-09-25 18:43:06 +02:00
gabryon99
7c15ebd60b moved flow tab in scripts_config 2020-09-25 18:33:15 +02:00
gabryon99
77a9f83de8 fix print card footer for alert_utils 2020-09-25 18:01:28 +02:00
gabryon99
a4d17d28d6 fixed tab for manage_data and add ui_utils.render_notes
addresses #4471
2020-09-25 17:20:49 +02:00
Alfredo Cardigliano
2a3d4b16ef Add import/export endpoints for the Active Monitoring configuration (#4475) 2020-09-25 10:09:31 +02:00
Simone Mainardi
55e6754d64 Fixes exception due to flow score passed as table
Addresses #4485
2020-09-25 10:03:23 +02:00
Alfredo Cardigliano
87652fe7f7 Add import/export endpoints for SNMP (#4475) 2020-09-25 09:30:01 +02:00
gabryon99
3f4996ee6a changed dhcp table button styles 2020-09-24 22:46:58 +02:00
gabryon99
d7f7a2ebce add no scope pages for DHCP range alert (#4470) 2020-09-24 22:41:13 +02:00
gabryon99
cdde515168 migrated DHCP outdated alerts (#4470) 2020-09-24 22:03:39 +02:00
gabryon99
61570cda2d moved all pools tab (#4263) 2020-09-24 21:44:44 +02:00
gabryon99
5f5fe0505e changed button style in user_scripts_overview.lua 2020-09-23 23:31:37 +02:00
gabryon99
ea8e30bac0 unified tab style across the pages (#4471) 2020-09-23 21:49:35 +02:00
Simone Mainardi
2afc279caf Fixes invalid recipients behavior
Fixes #4483
2020-09-23 18:55:39 +02:00
Simone Mainardi
814ee67cf9 Reworks nDPI Risks flow plugins to handle all risks and scores
Fixes #4432
2020-09-23 17:58:51 +02:00
Alfredo Cardigliano
03f5e024e3 Add import/export endpoints for user scripts (#4475) 2020-09-23 17:04:42 +02:00
Luca Deri
0c992b2797 Debug code removed 2020-09-23 17:01:49 +02:00
Luca Deri
97d456e020 Added supporto for 4xx and 5xx returb codes in http_status_code.lua 2020-09-23 16:57:38 +02:00
gabryon99
ef4a357c4d add http prefix in manage_pools.lua (#4263) 2020-09-23 16:39:00 +02:00
Alfredo Cardigliano
f60c331198 Add import_export_rest_utils module 2020-09-23 16:18:45 +02:00
gabryon99
de1674080d unified tab style (#4471) 2020-09-23 16:16:03 +02:00
Simone Mainardi
6c1280a8e5 Reworks recipients.lua as static rather than (useless) instance 2020-09-23 15:03:07 +02:00
gabryon99
9c719eb7aa formatted host score style 2020-09-23 14:31:14 +02:00
Luca Deri
930e4c362d Fixes #4320
Implements peak score of the last minute
2020-09-23 13:51:40 +02:00
Alfredo Cardigliano
09905f99a3 Add import_export snmp module (#4475) 2020-09-23 12:25:30 +02:00
Luca Deri
9d5ca3b7d8 Fixes #4414 2020-09-23 12:24:25 +02:00
Alfredo Cardigliano
dfe591dae7 Use import_export module in the REST API rest/v1/{get,set}/scripts/config.lua 2020-09-22 22:20:22 +02:00
Alfredo Cardigliano
a6be8f79ac Add import_export base module and user scripts module 2020-09-22 22:19:51 +02:00