Commit graph

3212 commits

Author SHA1 Message Date
Alfredo Cardigliano
f038baf804 Alerts are no longer enqueued if disabled 2020-07-23 00:49:28 +02:00
Simone Mainardi
09eb53a16d Prevents circular dependency in require
Fixes

string stack traceback:
/home/simone/ntopng/scripts/lua/modules/http_lint.lua:2029: in local 'parsePOSTpayload'
/home/simone/ntopng/scripts/lua/modules/http_lint.lua:2081: in main chunk
[C]: in function 'require'
/home/simone/ntopng/scripts/lua/modules/lua_utils.lua:3810: in main chunk
[C]: in function 'require'
...e/simone/ntopng/scripts/lua/modules/pools/base_pools.lua:7: in main chunk
[C]: in function 'require'
...e/ntopng/scripts/lua/modules/pools/pools_alert_utils.lua:10: in main chunk
[C]: in function 'require'
/home/simone/ntopng/scripts/lua/modules/alerts_api.lua:12: in main chunk
...
...b/ntopng/plugins0/modules/active_monitoring/am_utils.lua:11: in main chunk
[C]: in function 'dofile'
/home/simone/ntopng/scripts/lua/modules/plugins_utils.lua:942: in function 'plugins_utils.loadModule'
/var/lib/ntopng/plugins0/http_lint/active_monitoring.lua:17: in field '?'
/home/simone/ntopng/scripts/lua/modules/http_lint.lua:1902: in upvalue 'validateParameter'
/home/simone/ntopng/scripts/lua/modules/http_lint.lua:1989: in local 'lintParams'
/home/simone/ntopng/scripts/lua/modules/http_lint.lua:2085: in main chunk
[C]: in function 'require'
/home/simone/ntopng/scripts/lua/modules/lua_utils.lua:3810: in main chunk
[C]: in function 'require'
.../ntopng/plugins0/scripts/edit_active_monitoring_host.lua:9: in main chunk
2020-07-23 11:58:03 +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
gabryon99
b83108e423 fixed Add new Pool description 2020-07-21 17:24:43 +02:00
Simone Mainardi
dce5623bc2 Fixes pool ids associated with interface alerts 2020-07-21 15:24:19 +02:00
Alfredo Cardigliano
da74202e94 Add dscp info to raw flows 2020-07-21 15:07:32 +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
Alfredo Cardigliano
aa41081c38 Add check on nil stats 2020-07-21 11:47:58 +02:00
Alfredo Cardigliano
bebfc968e6 Fix chart dropdown 2020-07-21 10:55:15 +02:00
gabryon99
849e6b1acb fixed broken link to the host pools 2020-07-21 10:34:00 +02:00
Alfredo Cardigliano
c6cf8e418e Add timeseries for host and interface DSCP classes 2020-07-21 10:08:08 +02:00
Luca Deri
84bd93f903 Implemented periodicity stats 2020-07-20 22:44:23 +02:00
Alfredo Cardigliano
7f06331772 Add host details DSCP stats tab 2020-07-20 16:36:23 +02:00
Simone Mainardi
f8645e76d0 Adds host key inside host pool member details 2020-07-20 15:19:56 +02:00
gabryon99
2c27297ed3 add host pool members page 2020-07-20 11:50:44 +02:00
gabryon99
7e5f3d7319 added too many hosts notification 2020-07-20 11:50:44 +02:00
Alfredo Cardigliano
630e057a3d Improve printFlowSNMPInfo 2020-07-20 11:43:50 +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
Simone Mainardi
693a47c84d Fixes Fixes nEdge device protocol policing 2020-07-17 11:15:59 +02:00
Alfredo Cardigliano
2364e73345 DSCP utiliti functions 2020-07-17 10:40:38 +02:00
Simone Mainardi
7637564857 Fixes nEdge safe search validation 2020-07-17 10:23:13 +02:00
Simone Mainardi
c623f21ba0 Refactors old host_pools_utils to nEdge-only host_pools_nedge 2020-07-16 18:17:19 +02:00
Simone Mainardi
916c55f0d7 Reworks pool_details.lua with the new lua implementation 2020-07-16 17:51:40 +02:00
Simone Mainardi
06f191cb6d Implements timeseries dump in the new host pools lua class 2020-07-16 17:51:13 +02:00
Simone Mainardi
749942c7a5 Reworks pool change dropdowns with the new lua implementation 2020-07-16 17:38:20 +02:00
Simone Mainardi
ea1ab932ae Reworks alert_utils.lua to use the new lua host pools class 2020-07-16 17:23:45 +02:00
Simone Mainardi
ad93df50f3 Migrates alert_quota_exceeded.lua to use the new lua host pools class 2020-07-16 17:21:06 +02:00
Simone Mainardi
c6599dfbd5 Migrates alert_creators.lua to use the new lua host pools class 2020-07-16 17:19:20 +02:00
Simone Mainardi
72f4772ada Migrates alert_consts.lua to use the new lua host pools class 2020-07-16 17:11:42 +02:00
Simone Mainardi
fbd2eb829f Migrates unknown_devices.lua to use the new lua host pools class 2020-07-16 16:01:22 +02:00
Simone Mainardi
205eb8723c Reworks get_pools_data.lua to use the new host pools lua class 2020-07-16 15:44:02 +02:00
Simone Mainardi
ca6bd55132 Reworks get_pool_data.lua to use the new host pools lua class 2020-07-16 15:28:04 +02:00
gabryon99
a54f67756c removed semi-colon from too-many-flows notification 2020-07-16 11:56:12 +02:00
gabryon99
da7278065d moved update notification and too many flow notification 2020-07-16 11:56:12 +02:00
Simone Mainardi
ccb5ce3c9c Simplifies get_pool_by_member 2020-07-15 16:23:40 +02:00
Simone Mainardi
31715e65d2 Implements REST endpoint to check host pool members before bind
Implements #4138
2020-07-15 16:02:08 +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
gabryon99
e71f1a3e45 removed hard coded string in alert notification 2020-07-15 15:01:07 +02:00
gabryon99
125818ae05 removed validation for notifications 2020-07-15 15:01:07 +02:00