Add missing nedge doc makefile

This commit is contained in:
emanuele-f 2018-03-29 17:34:06 +02:00
parent 51bb092f8a
commit 0e3029f4c2
3 changed files with 235 additions and 1 deletions

View file

@ -1787,6 +1787,11 @@ local function getEngagedAlertsCache(ifid, granularity)
engaged_cache = {}
local sql_res = performAlertsQuery("select *", "engaged", {alert_engine = alertEngine(granularity)}) or {}
if verbose then
io.write("Resync alert cache:\n")
tprint(sql_res)
end
for _, res in pairs(sql_res) do
local entity_type = alertEntityRaw(res.alert_entity)
local entity_value = res.alert_entity_val