Luca Deri
54f5b00098
Assets improvements
2025-03-21 18:57:34 +01:00
Luca Deri
55870e97b9
(C) Update
2024-01-12 11:44:18 +01:00
Matteo Biscosi
b970d0859e
Fixes shutting down doesn't insert alerts in CH ( #7949 )
2023-10-25 11:41:53 +00:00
Matteo Biscosi
ade5ea6090
Fixes interface and local networks alerts not released ( #7679 )
2023-10-03 10:51:31 +00:00
Luca Deri
f726b867c7
Updated (C)
2023-01-01 16:37:57 +01:00
Alfredo Cardigliano
257ece18c0
Copyright update (Lua)
2022-01-03 09:42:33 +01:00
Alfredo Cardigliano
4603f3f088
Disable debug messages
2021-12-30 14:48:05 +01:00
Simone Mainardi
2e8a6de0fc
Major terminology unification (user scripts -> checks)
2021-06-17 12:39:43 +02:00
Simone Mainardi
76fd315d1b
Refactors user_scripts into checks (lua)
2021-06-16 18:02:22 +02:00
Luca Deri
a1178a0791
Updated (C)
2021-01-02 12:08:23 +01:00
Simone Mainardi
5b878a2a7a
Reworks reload of in-mem preferences and runtimeprefs.json dump
2020-10-13 12:49:48 +02:00
Simone Mainardi
6c1280a8e5
Reworks recipients.lua as static rather than (useless) instance
2020-09-23 15:03:07 +02:00
Simone Mainardi
3ad4522e45
Implements additional plugin hooks
...
The following plugin hooks have been implemented
onEnable(hook, hook_config)
onDisable(hook, hook_config)
onUpdateConfig(hook, hook_config)
onLoad(hook, hook_config)
onUnload(hook, hook_config)
Documentation is part of the commit.
Implements #4451
Implements #4453
Implements #4454
Implements #4455
2020-09-21 18:25:14 +02:00
Simone Mainardi
5e7f2cfff4
Implements thread for notifications handling
2020-09-09 12:16:51 +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
85f555a908
Removes intermediate alert queues - only leaves recipient queues
...
Implements #4366
2020-09-04 17:41:55 +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
Luca Deri
170bc60f19
Updated (C)
2020-01-08 23:52:51 +01:00
emanuele-f
c9bf1e78cc
Implement alerts release on shutdown
2019-07-19 13:58:10 +02:00
Simone Mainardi
d12a4d3009
Creates utility functions to handle restart after anomalous termination
2018-08-01 18:11:17 +02:00
emanuele-f
e3611077a7
Fix attempt to call global 'hasAlertsDisabled' (a nil value) in shutdown.lua
2018-04-18 20:04:34 +02:00
Luca Deri
00004494bf
Reworked alarms
...
Added informative message at ntopng startup/shutdown
2018-04-13 17:19:58 +02:00
emanuele-f
23d7a2676a
Rework alerts export to provide more endpoint control
2018-04-12 18:10:45 +02:00
Luca Deri
f0c936c368
Updated (C) to 2018
2018-03-22 21:59:42 +01:00
emanuele-f
417d40a78e
Separate system-wide scripts from per-interface scripts
2017-11-23 19:15:12 +01:00