gabryon99
15772bd0fe
refactor for endpoints and recipients ( #4707 )
2020-11-25 16:25:55 +01:00
Luca Deri
a7518905a4
No longer necessary
2020-11-16 12:42:07 +01:00
Simone Mainardi
30f46a15da
Misbehaving flows cleanup
2020-10-16 11:28:46 +02:00
gabryon99
267c169e50
fixed button styles host_pools
2020-10-02 16:59:50 +02:00
Simone Mainardi
1a8552549b
Removes unused old notification_recipients module
2020-09-10 18:10:23 +02:00
Simone Mainardi
3cefe89d4b
Initial implementation of OO recipients and integer ids
2020-09-07 13:03:34 +02:00
Simone Mainardi
1ae2b2d932
Refactors NtopngUtils into NtopUtils
2020-08-18 15:10:04 +02:00
Simone Mainardi
e61f9ffe68
Refactor JS code into class NtopngUtils
...
Implements #3735
2020-08-18 14:13:48 +02:00
Luca Deri
75efc0ec0c
Partial fix (community code is now clean) for #2533
...
Reworked inteface disaggregation
Moved to attic some unused classes
Added ability to disaggregate also for Probe IP + Ingress Interface
2020-08-07 17:20:26 +02:00
gabryon99
86175b2b5b
removed redundant host pool defaul inside dropdown
2020-07-30 16:13:31 +02:00
gabryon99
3a9c6306b3
removed default pool from host members page
2020-07-30 15:42:56 +02:00
Simone Mainardi
54b29aa1dc
Implements GUI to configure host pools
...
Implements #4098
Implements #4087
2020-07-01 16:05:01 +02:00
Simone Mainardi
5ade224d85
Implements global host pools
...
Implements #4086
Refactors host pools to global
Implements host pools migration
Migration fixes
nEdge changes for host pools migration
Create README.host_pools_migration.md
2020-07-01 12:02:09 +02:00
gabryon99
d592b3b43c
add spinner inside snmp add modal and replaced the old loading image
2020-06-18 11:37:26 +02:00
Simone Mainardi
38925bac6c
Fixes percent sign in password leading to lock-out
...
Fixes #4031
2020-06-12 12:27:35 +02:00
Simone Mainardi
0bbb30e13e
Refactors snmp_utils global methods into module functions
2020-06-10 13:09:30 +02:00
Simone Mainardi
8a3e65ac50
Requires snmp_utils as local module
2020-06-10 12:17:25 +02:00
Simone Mainardi
49e49e0ed6
Unifies host_details.lua generation
...
Addresses #3977
2020-05-26 12:50:47 +02:00
Simone Mainardi
0a9a7015e0
Unifies status_id and status_key
2020-04-15 14:29:03 +02:00
Simone Mainardi
4177ee61ab
Implements constant flow and alert ids
...
Enlarges AlertType size
Changes alerts database
2020-04-14 22:20:44 +02:00
Simone Mainardi
e487427aab
Refactors alert_utils and enterprise_alert_utils
...
Addresses #3720
Alerts Refactor: alert_utils as module
Alerts Refactor: notify_ntopng_start and notify_ntopng_stop
Alerts Refactor: processAlertNotifications
Alerts Refactor: checkStoreAlertsFromC
Alerts Refactor: formatAlertNotification
Alerts Refactor: notification_timestamp_rev
Alerts Refactor: formatAlertMessage
Alerts Refactor: getConfigsetAlertLink
Alerts Refactor: alertNotificationActionToLabel
Alerts Refactor: flushAlertsData
Alerts Refactor: disableAlertsGeneration
Alerts Refactor: newAlertsWorkingStatus and other
Alerts Refactor: drawAlerts
Alerts Refactor: drawAlertTables
Alerts Refactor: printAlertTables
Alerts Refactor: checkDeleteStoredAlerts
Alerts Refactor: getUnpagedAlertOptions
Alerts Refactor: getTabParameters
Alerts Refactor: getAlerts
Alerts Refactor: getNumAlerts
Alerts Refactor: performAlertsQuery
Alerts Refactor: sec2granularity
Alerts Refactor: granularity2id
Alerts Refactor: granularity2sec
Alerts Refactor: alertEngineLabel
Alerts Refactor: alertEngine
Alerts Refactor: alertEngineRaw
Alerts Refactor: alertTypeDescription
Alerts Refactor: alertType
Alerts Refactor: alertTypeLabel
Alerts Refactor: alertTypeRaw
Alerts Refactor: alertSeverity
Alerts Refactor: alertSeverityLabel
Alerts Refactor: alertSeverityRaw
Alerts Refactor: get_make_room_keys
Alerts Refactor: enterprise_alert_utils
2020-04-10 14:03:20 +02:00
Simone Mainardi
43284e22f8
Fixes crash and removes unused PortContactStats
...
Class was not used and didn't handle concurrent accesses to strings,
yielding crashes such as
Thread 14 "stats_update.lu" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffb3fff700 (LWP 25268)]
0x00005555556b9183 in IpAddress::intoa (this=0x28c, buf=0x7fffb3ffe030 "", bufLen=64, bitmask=255 '\377') at src/IpAddress.cpp:352
352 src/IpAddress.cpp: No such file or directory.
(gdb)
(gdb) bt
at src/GenericHash.cpp:222
#9 0x00005555556c0413 in NetworkInterface::walker (this=0x555556159e70, begin_slot=0x7fffb3ffe454, walk_all=true, wtype=walker_flows, walker=0x5555556c6b79 <host_flow_update_stats(GenericHashEntry*, void*, bool*)>,
user_data=0x7fffb3ffe458) at src/NetworkInterface.cpp:795
#10 0x00005555556c6f7c in NetworkInterface::periodicStatsUpdate (this=0x555556159e70, vm=0x7fffac0a5578) at src/NetworkInterface.cpp:2589
#11 0x0000555555671d62 in ntop_periodic_stats_update (vm=0x7fffac0a5578) at src/LuaEngine.cpp:6304
#12 0x000055555576c2f6 in luaD_precall ()
#13 0x0000555555777acd in luaV_execute ()
#14 0x000055555576c5cf in luaD_call ()
#15 0x000055555576c621 in luaD_callnoyield ()
#16 0x000055555576ba42 in luaD_rawrunprotected ()
#17 0x000055555576c91b in luaD_pcall ()
#18 0x0000555555769cd4 in lua_pcallk ()
#19 0x0000555555681e8a in LuaEngine::run_loaded_script (this=0x7fffac01fe10) at src/LuaEngine.cpp:12188
#20 0x000055555563eca2 in ThreadedActivity::runScript (this=0x555562aee4e0, now=1585309410, script_path=0x7fff88002620 "/usr/share/ntopng/scripts/callbacks/interface/stats_update.lua", iface=0x555556159e70, deadline=1585309420)
at src/ThreadedActivity.cpp:418
#21 0x00005555556ba04d in ThreadPool::run (this=0x5555624525a0) at src/ThreadPool.cpp:103
#22 0x00005555556b9c79 in doRun (ptr=0x5555624525a0) at src/ThreadPool.cpp:31
#23 0x00007ffff65aa6db in start_thread (arg=0x7fffb3fff700) at pthread_create.c:463
#24 0x00007ffff3ea388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
2020-03-27 13:36:51 +01:00
Simone Mainardi
deb17c0ed5
Reworks plugins documentation
2020-03-24 21:42:40 +01:00
gabryon99
ce0e3d2d11
fix for system view
2020-03-24 12:39:08 +01:00
gabryon99
7479582210
fix system view and add rtt host from host_details
2020-03-23 17:38:22 +01:00
Luca Deri
1d2f44fc39
Moved Prometheus to attic
2020-03-19 12:58:48 +01:00
gabryon99
45ab5b05e2
fixed more class active, ticket #3546
2020-03-16 17:43:09 +01:00
gabryon99
e2dcd862b8
fix for ticket #3546
2020-03-16 17:29:33 +01:00
Simone Mainardi
82a01c521a
Computes CPU states every 5 seconds in the system interface
2020-02-27 16:48:08 +01:00
Simone Mainardi
55d5912729
Moves unused slow_stats_update alert to attic
2020-02-21 14:14:01 +01:00
gabryon99
bec4c8184d
add switches instead checkboxes
2020-02-12 22:38:27 +01:00
Luca Deri
70dc07c3f1
ArpMatrix code moved to attic
2020-01-30 09:57:32 +01:00
Gabriele Pappalardo
a2f4a1a065
elephant flows ( #3269 )
...
* elephant flows
* fix for apply button after changes
* fix for refresh icons on index.lua page, scrollable dropdowns enabled
2020-01-21 16:32:14 +00:00
Alfredo Cardigliano
55b1ca75a9
Replace anomalous with misbehaving to avoid inconsistencies ( fix #2866 )
2020-01-14 15:49:19 +01:00
Luca Deri
57e6a93065
Improved scheduling algorithm to guarantee minimum service time when number of entries allow
...
Updated (C)
2020-01-06 23:36:36 +01:00
emanuele-f
ad9c386bb3
Move user scripts gui config to admin, cleanup
2020-01-03 15:16:46 +01:00
emanuele-f
d037f9a9a4
Use new user scripts config and gui
...
The user scripts configuration can now be configured from the "User Scripts" entry under the cog
icon. It allows the creation of multiple configuration presets to be applied to hosts, networks and
interfaces.
2020-01-03 13:03:34 +01:00
Simone Mainardi
7a2def354a
Moves unused code to attic
2019-12-31 16:07:09 +01:00
Simone Mainardi
fdba617b0d
Fixes discovery for loopback interfaces
2019-12-17 14:27:35 +01:00
Simone Mainardi
1dba3343e3
Fixes community sankeys
2019-12-16 17:02:53 +01:00
Simone Mainardi
7d88c101c3
Cleanup old unused processes-related code
2019-12-16 16:16:40 +01:00
Simone Mainardi
200d0f1143
Bootstrap migration vlan and script navbars
2019-12-16 16:10:19 +01:00
Simone Mainardi
0ce4ebad97
Dropbox code cleanup
2019-12-13 10:43:08 +01:00
Simone Mainardi
b5ba28d8d1
Cleanup old fontawesome 4 and bootstrap 3
2019-12-09 15:35:39 +01:00
Luca Deri
9190762a92
Removed work in progress script
2019-10-20 12:03:45 +02:00
Simone Mainardi
34fb0de859
Moves unused sflow files to attic
2019-10-16 19:19:05 +02:00
Luca Deri
3ea1b7e5d8
Window fixes
...
Moved community hash to attic
2019-06-29 18:54:19 +02:00
Simone Mainardi
e68fc31b5e
Removes unsafe sqlite3 queries from Lua
2019-05-15 14:43:22 +02:00
Alfredo Cardigliano
3381ddbcf5
REST endpoints update
...
get_alerts_data.lua -> rest/get/alert/data.lua, host_get_json.lua -> rest/get/host/data.lua, get_interface_data.lua -> rest/get/interface/data.lua, live_traffic_extraction.lua -> rest/get/pcap/live_extraction.lua
2019-01-30 14:18:45 +01:00
emanuele-f
cbb21f000c
Remove unused js/css files
2018-12-20 18:15:58 +01:00