mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
[VS] Fix not configured alert description.
This commit is contained in:
parent
31b7175929
commit
9d61a1f41e
2 changed files with 4 additions and 4 deletions
|
|
@ -73,7 +73,7 @@ local vs_rest_utils = require("vs_rest_utils")
|
|||
-- Enable debug with:
|
||||
-- redis-cli set "ntopng.prefs.vs.debug_enabled" "1"
|
||||
-- systemctl restart ntopng
|
||||
local debug_me = true--ntop.getCache("ntopng.prefs.vs.debug_enabled") == "1"
|
||||
local debug_me = ntop.getCache("ntopng.prefs.vs.debug_enabled") == "1"
|
||||
local verbose = false
|
||||
|
||||
local vs_utils = {}
|
||||
|
|
@ -1058,7 +1058,7 @@ end
|
|||
local function trigger_alert_host_not_configured(host,scan_type)
|
||||
local host_info_to_cache = {
|
||||
host = host,
|
||||
scan_type = scan_type,
|
||||
sub_scan_type = scan_type,
|
||||
is_host_not_configured = true,
|
||||
}
|
||||
ntop.rpushCache(scanned_hosts_changes_queue_key, json.encode(host_info_to_cache))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue