mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Fixes shutting down doesn't insert alerts in CH (#7949)
This commit is contained in:
parent
2db9bd7572
commit
b970d0859e
3 changed files with 5 additions and 3 deletions
|
|
@ -30,9 +30,11 @@ alert_utils.notify_ntopng_stop()
|
|||
-- Check and possibly dump preferences to disk
|
||||
prefs_dump_utils.check_dump_prefs_to_disk()
|
||||
|
||||
-- First of all release the alert of the system interface (current one)
|
||||
alerts_api.releaseAllAlerts()
|
||||
-- Then release the alerts of all other interfaces
|
||||
for _, ifname in pairs(ifnames) do
|
||||
interface.select(ifname)
|
||||
-- Release all alerts
|
||||
alerts_api.releaseAllAlerts()
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue