mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Fix for system interface alerts showing up as unknown
This commit is contained in:
parent
ba64aad551
commit
fce9a5ed5b
1 changed files with 2 additions and 2 deletions
|
|
@ -98,8 +98,8 @@ end
|
|||
function interface_alert_store:format_record(value, no_html)
|
||||
local record = self:format_json_record_common(value, alert_entities.interface.entity_id, no_html)
|
||||
|
||||
local alert_name = alert_consts.alertTypeLabel(tonumber(value["alert_id"]), no_html, alert_entities.interface.entity_id)
|
||||
local alert_fullname = alert_consts.alertTypeLabel(tonumber(value["alert_id"]), true, alert_entities.interface.entity_id)
|
||||
local alert_name = alert_consts.alertTypeLabel(tonumber(value["alert_id"]), no_html)
|
||||
local alert_fullname = alert_consts.alertTypeLabel(tonumber(value["alert_id"]), true)
|
||||
local subtype = value.subtype
|
||||
local alert_info = alert_utils.getAlertInfo(value)
|
||||
local msg = alert_utils.formatAlertMessage(interface.getId(), value, alert_info)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue