Alfredo Cardigliano
|
fb011bc0af
|
Add missing pool_import_export.lua including pools export and reset (#4433 #4475)
|
2020-10-02 12:32:04 +02:00 |
|
Simone Mainardi
|
2afc279caf
|
Fixes invalid recipients behavior
Fixes #4483
|
2020-09-23 18:55:39 +02:00 |
|
Simone Mainardi
|
6c1280a8e5
|
Reworks recipients.lua as static rather than (useless) instance
|
2020-09-23 15:03:07 +02:00 |
|
Simone Mainardi
|
0bbcc12edb
|
Fixes pools_alert_utils.lua:112: bad argument #1 to 'for iterator'
|
2020-09-16 18:26:39 +02:00 |
|
Simone Mainardi
|
b7341506f7
|
Implements checks for script type and alert severity in dispatch_notification
|
2020-09-16 13:08:07 +02:00 |
|
Simone Mainardi
|
fdf65adc62
|
Reworks recipient register/delete and Lua VMs reload
|
2020-09-15 15:58:48 +02:00 |
|
Simone Mainardi
|
b4627ffc08
|
Removes forced use of builtin SQLite plugin
Implements #4383
|
2020-09-11 18:39:18 +02:00 |
|
Simone Mainardi
|
27ef917766
|
Implements flag to indicate default-only pools
|
2020-09-10 16:29:00 +02:00 |
|
Simone Mainardi
|
e0192d03be
|
Implements reset of pools and REST API endpoint
Implements #4384
|
2020-09-10 14:45:28 +02:00 |
|
Simone Mainardi
|
13cfd29376
|
Implements REST endpoint to get all pools for a given recipient
|
2020-09-10 14:00:55 +02:00 |
|
Simone Mainardi
|
c1078d2f21
|
Implements additional pools and edit/get REST API
Implements #4380
Implements #4381
|
2020-09-10 11:11:08 +02:00 |
|
Simone Mainardi
|
9e99fa1403
|
Uses new in-memory queues for alert recipients (avoid Redis)
|
2020-09-08 18:36:18 +02:00 |
|
Simone Mainardi
|
2aa4588c07
|
UI fixes for new recipients
|
2020-09-08 14:57:55 +02:00 |
|
gabryon99
|
146e0f7945
|
rewrok gui for new recipients api
|
2020-09-08 14:08:44 +02:00 |
|
Simone Mainardi
|
85f555a908
|
Removes intermediate alert queues - only leaves recipient queues
Implements #4366
|
2020-09-04 17:41:55 +02:00 |
|
Simone Mainardi
|
32b4a1cca4
|
Refactors base_pools to pools
|
2020-09-01 10:53:36 +02:00 |
|
Simone Mainardi
|
6e0ae904df
|
Implements REST API endpoint to get pools for any available type
Implements #4263
|
2020-08-31 16:13:42 +02:00 |
|
Alfredo Cardigliano
|
ba2e44ddc6
|
REST endpoints now return specific HTTP codes on failure (fix #4278)
|
2020-08-20 11:45:17 +02:00 |
|
Simone Mainardi
|
d895777fa2
|
Adds pool name to base_pools:get_assigned_members
|
2020-08-19 09:33:58 +02:00 |
|
Simone Mainardi
|
2473637bd0
|
Prevents initialization of non-subclassed base_pools.lua
Partially addresses #4271
|
2020-08-18 18:29:25 +02:00 |
|
Simone Mainardi
|
16db3cda67
|
Reworks REST API to return i18n success/error messages
Implements #4300
|
2020-08-17 19:18:16 +02:00 |
|
Alfredo Cardigliano
|
1160066b08
|
Add logging for all non-get REST calls (fix #4279)
|
2020-08-14 12:02:09 +02:00 |
|
Simone Mainardi
|
60b6d36315
|
Fixes script failure module 'snmp_config' not found in community
|
2020-08-03 11:05:18 +02:00 |
|
Alfredo Cardigliano
|
75ba792513
|
Check if pool recipients exist
|
2020-07-31 16:50:55 +02:00 |
|
Alfredo Cardigliano
|
b15379d5be
|
Handle old pools with no recipients
|
2020-07-31 12:56:40 +02:00 |
|
Alfredo Cardigliano
|
06b1bcdce0
|
Add an empty list of members/recipients for host pools if there is none
|
2020-07-31 11:59:00 +02:00 |
|
Simone Mainardi
|
330234e3f7
|
Optimized hosts scripts using direct pool_id to retrieve config
|
2020-07-30 19:57:16 +02:00 |
|
Simone Mainardi
|
7a0a3b5d42
|
nEdge compatibility fixes with the new Defaul pool
|
2020-07-30 14:04:11 +02:00 |
|
Simone Mainardi
|
31f173cdad
|
Prevents name changes for the default pool
|
2020-07-29 19:01:43 +02:00 |
|
Simone Mainardi
|
b5f805fce5
|
Implements default pools
Implements #4158
|
2020-07-29 18:14:34 +02:00 |
|
Simone Mainardi
|
e0d936fc9c
|
Fixes host pools getter returning non-existing pools
|
2020-07-29 16:39:31 +02:00 |
|
Simone Mainardi
|
301b8ce83c
|
Changes pools lock key to avoid saving it as preference
|
2020-07-28 19:10:45 +02:00 |
|
Alfredo Cardigliano
|
e344508df1
|
Update runTest API in all endpoint plugins. Add action=test in edit_notification_recipient.lua
|
2020-07-28 15:52:41 +02:00 |
|
Alfredo Cardigliano
|
6db82d9d3f
|
Enable new recipient based notification for the email endpoint (temporarily disabled)
|
2020-07-27 13:19:28 +02:00 |
|
root
|
8872b064b8
|
Update edit_pool recipients parameter
|
2020-07-24 09:24:10 +02:00 |
|
Alfredo Cardigliano
|
7ffb4df9a6
|
Handle host pool serialization (exception for backward compatibility).
Fix recipients add
Initial work for alerts dispatching to recipients
|
2020-07-23 06:22:17 +02:00 |
|
Simone Mainardi
|
4adc0f7924
|
Fixes invalid pool_name method in base_pools
|
2020-07-22 20:32:14 +02:00 |
|
Alfredo Cardigliano
|
1d1a49c6bf
|
Implement unbind_all_recipient_id
|
2020-07-22 18:26:17 +02:00 |
|
Alfredo Cardigliano
|
0d7d274d4c
|
Add recipients to pools
|
2020-07-22 17:30:11 +02:00 |
|
Simone Mainardi
|
da709e6ccd
|
Fixes get_pool_name
|
2020-07-21 19:15:11 +02:00 |
|
Simone Mainardi
|
ceba04f92c
|
Fixes to associate pool ids with alerts
|
2020-07-21 14:59:12 +02:00 |
|
Simone Mainardi
|
42b7d8e7e9
|
Implements facility to add pool info to alerts
|
2020-07-21 13:09:27 +02:00 |
|
Simone Mainardi
|
f8645e76d0
|
Adds host key inside host pool member details
|
2020-07-20 15:19:56 +02:00 |
|
Simone Mainardi
|
2cc2b4bfa1
|
Augments host pool member information
|
2020-07-20 10:41:47 +02:00 |
|
Simone Mainardi
|
889bd554d5
|
Unbinds pool members when assigning them to the default pool
|
2020-07-20 09:34:11 +02:00 |
|
Simone Mainardi
|
ccd9aa6c37
|
Minor cleanup
|
2020-07-17 17:32:01 +02:00 |
|
Simone Mainardi
|
52c022de20
|
Returns bind errors in REST endpoint to add host pool members
|
2020-07-17 17:29:46 +02:00 |
|
Simone Mainardi
|
a4abaed7b3
|
Returns pool members as array via REST
|
2020-07-17 14:14:09 +02:00 |
|
Simone Mainardi
|
aa99b6be61
|
Implement REST endpoint to get host pool members
|
2020-07-17 12:55:31 +02:00 |
|
Simone Mainardi
|
831dcfff83
|
Fixes for unbinding host pool members
|
2020-07-17 11:43:31 +02:00 |
|