Implement Device Protocols Alerts

This commit is contained in:
emanuele-f 2018-10-02 22:34:19 +02:00
parent 35b555fea5
commit 457dcb3457
18 changed files with 171 additions and 29 deletions

View file

@ -645,7 +645,7 @@ function formatRawFlow(record, flow_json)
-- render the json
local msg = ""
if not isEmptyString(record["flow_status"]) then
msg = msg..getFlowStatus(tonumber(record["flow_status"])).." "
msg = msg..getFlowStatus(tonumber(record["flow_status"]), alert2statusinfo(decoded, record)).." "
end
if not isEmptyString(flow) then
msg = msg..flow.." "