Commit graph

5140 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
Alfredo Cardigliano
45a95cc754 Fix dropped alerts counter (fix #4193) 2020-07-22 12:18:29 +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
gabryon99
cc7d923c58 fix broken host pool member page 2020-07-21 17:12:19 +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
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
Luca Deri
84bd93f903 Implemented periodicity stats 2020-07-20 22:44:23 +02:00
Alfredo Cardigliano
28bbbe0193 Add interface details DSCP stats tab 2020-07-20 17:48:48 +02:00
Alfredo Cardigliano
8b4f1c7e07 Add rest endpoint to get interface dscp stats 2020-07-20 17:35:03 +02:00
Alfredo Cardigliano
7f06331772 Add host details DSCP stats tab 2020-07-20 16:36:23 +02:00
Alfredo Cardigliano
9fd37cccea Add rest endpoint to get host dscp stats 2020-07-20 16:35:50 +02:00
gabryon99
321e7ad156 fixed label inside add pool modal 2020-07-20 15:31:05 +02:00
Simone Mainardi
f8645e76d0 Adds host key inside host pool member details 2020-07-20 15:19:56 +02:00
gabryon99
bd65d21996 added link to edit host pool members 2020-07-20 14:06:35 +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
9a4a0f3439 Hides host pools menu from nedge 2020-07-20 10:50:24 +02:00
Simone Mainardi
2cc2b4bfa1 Augments host pool member information 2020-07-20 10:41:47 +02:00
Alfredo Cardigliano
bb0fbd4460 Flow details fix 2020-07-20 10:30:14 +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
7a9b1d8ef0 Fixes hosts search 2020-07-17 17:44:04 +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
Alfredo Cardigliano
a1d9fd3695 Check privileges in rest set 2020-07-16 18:45:58 +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