Commit graph

58 commits

Author SHA1 Message Date
Simone Mainardi
6c1280a8e5 Reworks recipients.lua as static rather than (useless) instance 2020-09-23 15:03:07 +02:00
Simone Mainardi
d42051616c Implements per-recipient user script categories and severities 2020-09-16 12:09:13 +02:00
Simone Mainardi
f56bcebe81 Handles in-memory recipients addition/deletion 2020-09-08 14:05:38 +02:00
Simone Mainardi
3f2fa953aa Implements in-memory recipient queues 2020-09-07 17:54:14 +02:00
Simone Mainardi
fbf1e39981 Implements reuse of recipient ids 2020-09-07 15:53:35 +02:00
Simone Mainardi
3cefe89d4b Initial implementation of OO recipients and integer ids 2020-09-07 13:03:34 +02:00
Simone Mainardi
aeecbcce29 Initial implementation of OO recipients with SQLite 2020-08-28 13:19:58 +02:00
Simone Mainardi
e0d936fc9c Fixes host pools getter returning non-existing pools 2020-07-29 16:39:31 +02:00
Ronald Henderson
356bfcdedc
Added rest script for custom host data with docs and test scripts (#4186)
Co-authored-by: root <root@vortex.rwh.shop>
2020-07-21 08:43:39 +02:00
Simone Mainardi
1405107c13 Implements in-memory host pools bind checks 2020-07-15 15:32:42 +02:00
Simone Mainardi
4e886711cf Refactors pools members bind checks (eases host pools checks) 2020-07-15 15:11:58 +02:00
Simone Mainardi
b1edce1894 Implement REST endpoint to add host pools
Implements #4133
2020-07-14 17:36:08 +02:00
Simone Mainardi
7408eca0bc Implements host pools as a Lua class (compatible with existing pools)
Implements #4131
2020-07-14 16:54:14 +02:00
Simone Mainardi
a9ccba5ec6 Implements base_pools:bind_member Lua API
Implements #4129
2020-07-13 19:22:05 +02:00
Simone Mainardi
44535d99a7 Implements lua class active_monitoring_pools.lua to handle active monitoring pools 2020-07-08 17:52:14 +02:00
Simone Mainardi
71cb0dbbc9 Implements lua class snmp_device_pools.lua to handle SNMP device pools 2020-07-08 17:01:22 +02:00
Simone Mainardi
d05c191cc7 Implements lua class local_network_pools.lua to handle network pools 2020-07-08 14:42:48 +02:00
Simone Mainardi
69c7cd7acd Implements get_member_details to get interface pool member details 2020-07-07 11:06:20 +02:00
Alfredo Cardigliano
b6e057d41b Test get_interface_data_01 fix 2020-07-06 18:17:13 +02:00
Alfredo Cardigliano
b139eb0888 Test results update 2020-07-06 17:35:30 +02:00
Simone Mainardi
aab7051810 Implements RESTful getters for interface pools and members
Implements #4109
2020-07-06 14:22:24 +02:00
Simone Mainardi
ca1a011c2b Implements RESTful addition of interface pools and members 2020-07-06 12:38:39 +02:00
Simone Mainardi
1ef13ca9ea Implements consistency checks for the addition/edit of pools and members 2020-07-06 12:00:27 +02:00
Simone Mainardi
d1eca8dbaf Adds tests for interface pools 2020-07-05 18:44:01 +02:00
Simone Mainardi
1702eb7b96 Adjusts REST API tests 2020-06-25 19:36:33 +02:00
Simone Mainardi
2d0b3f1a55 Implements REST API endpoint to get all ntopng active interfaces
Implements #4082
2020-06-25 19:28:48 +02:00
Simone Mainardi
22db534616 Adds mem_total and mem_ntopng_virtual to the test ignores 2020-05-29 18:08:23 +02:00
Simone Mainardi
1d22c3c232 Adjusts naming conventions for rest/v1/get/alert/type/counters.lua 2020-05-29 18:05:35 +02:00
Simone Mainardi
f780152f89 Adjusts naming conventions for rest/v1/get/alert/severity/counters.lua 2020-05-29 18:02:29 +02:00
Alfredo Cardigliano
c12ad4a341 Ignore selected lines from the diff 2020-05-29 17:55:16 +02:00
Simone Mainardi
6ea0531be0 Adjusts types and severities returned by rest/v1/get/alert/data.lua 2020-05-29 17:52:55 +02:00
Simone Mainardi
0d8012d9ec Adjusts naming convention for rest/v1/get/flow/l7/counters.lua 2020-05-29 17:42:31 +02:00
Alfredo Cardigliano
502156c0c9 Add more tests 2020-05-29 17:08:16 +02:00
Alfredo Cardigliano
2e2abf9cd8 More tests 2020-05-29 15:36:12 +02:00
Alfredo Cardigliano
03eb61e724 Test updates/fixes 2020-05-29 15:20:45 +02:00
Alfredo Cardigliano
0c1eff4dfd Use local datadir (no privileges) 2020-05-29 10:26:08 +02:00
Simone Mainardi
0b27f52b4a Adds test for get_alert_severity_consts 2020-05-28 18:59:11 +02:00
Simone Mainardi
e2d5497d52 Implement endpoint to list all interfaces of an host
Implements #3955
2020-05-28 18:57:08 +02:00
Simone Mainardi
0e6bb77433 Implements multi-interface tests; rename test files 2020-05-28 18:38:23 +02:00
Simone Mainardi
fba483b869 Implement getter for protocol constants
Implements ##3945
2020-05-28 17:13:19 +02:00
Simone Mainardi
3afb189336 Shortens category_id to cat_id in a rest json response 2020-05-28 17:01:04 +02:00
Simone Mainardi
38067e4ef8 Adds category id to the rest application consts getter
Implements #3944
2020-05-28 16:58:19 +02:00
Simone Mainardi
04945cc72f Implement getter for categories constants
Implements #3944
2020-05-28 16:51:57 +02:00
Simone Mainardi
8b85f0dd9e Implement getter for application constants
Implements #3944
2020-05-28 16:44:59 +02:00
Simone Mainardi
63628af5bd Simplifies getter for alert constants 2020-05-28 15:54:07 +02:00
Simone Mainardi
699ec1e2fb Implement getter for alert severity constants
Implements #3946
2020-05-28 15:51:39 +02:00
Simone Mainardi
1375efb05e Adds tests for rest/v1/get/alert/type/consts.lua 2020-05-27 15:29:59 +02:00
Simone Mainardi
db43a57c3b Implements better JSON comparison in tests and allows for custom dir and redis 2020-05-27 15:25:38 +02:00
Alfredo Cardigliano
7335b3b2c9 Add v1/get/pool/config v1/get/scripts/config REST API 2020-05-18 18:54:58 +02:00
Alfredo Cardigliano
2073d1d24f Add test 5 2020-05-18 17:47:13 +02:00