mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Define new alert cloud_reconnected
This commit is contained in:
parent
dab5aeba99
commit
8d326f2718
6 changed files with 78 additions and 1 deletions
|
|
@ -134,6 +134,10 @@ local function processStoreAlertFromQueue(alert)
|
|||
entity_info = alert_entity_builders.systemEntity("cloud")
|
||||
type_info = alert_consts.alert_types.alert_cloud_disconnected.new()
|
||||
type_info:set_score_warning()
|
||||
elseif (alert.alert_id == "cloud_reconnected") then
|
||||
entity_info = alert_entity_builders.systemEntity("cloud")
|
||||
type_info = alert_consts.alert_types.alert_cloud_reconnected.new()
|
||||
type_info:set_score_notice()
|
||||
else
|
||||
traceError(TRACE_ERROR, TRACE_CONSOLE, "Unknown alert type " .. (alert.alert_id or ""))
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue