mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Fix host alert configuration issues
This commit is contained in:
parent
21171bbd73
commit
10be6c2190
6 changed files with 10 additions and 7 deletions
|
|
@ -762,7 +762,10 @@ function drawAlertSourceSettings(alert_source, delete_button_msg, delete_confirm
|
|||
to_save = false
|
||||
|
||||
if((_POST["to_delete"] ~= nil) and (_POST["SaveAlerts"] == nil)) then
|
||||
-- Delete spcific settings
|
||||
-- Delete threshold configuration
|
||||
ntop.delHashCache(get_alerts_hash_name(tab, ifname), alert_source)
|
||||
|
||||
-- Delete specific settings
|
||||
if source.source == "host" then
|
||||
ntop.delCache(anomaly_config_key)
|
||||
interface.refreshHostsAlertsConfiguration()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue