Move host log alerts to host alerts. Fix syslog alerts.

This commit is contained in:
Alfredo Cardigliano 2021-05-03 17:37:18 +02:00
parent d78ce33cb0
commit 8dd0f903a1
7 changed files with 29 additions and 16 deletions

View file

@ -46,8 +46,9 @@ end
-- ##############################################
local function alertTypeDescription(v, entity_id)
local alert_id = alert_consts.getAlertType(v, entity_id)
local function alertTypeDescription(alert_key, entity_id)
local alert_id = alert_consts.getAlertType(alert_key, entity_id)
if(alert_id) then
if alert_consts.alert_types[alert_id].format then