Fixes alerted active monitoring hosts not reported as alerted

Fixes #3904
This commit is contained in:
Simone Mainardi 2020-05-08 17:47:33 +02:00
parent 33196fdc41
commit 18bf6fa3d5
3 changed files with 30 additions and 5 deletions

View file

@ -214,6 +214,7 @@ end
local function getNumEngagedAlerts(options)
local entity_type_filter = tonumber(options.entity)
local entity_value_filter = options.entity_val
local res = interface.getEngagedAlertsCount(entity_type_filter, entity_value_filter, options.entity_excludes)
if(res ~= nil) then