Removed debug prints

This commit is contained in:
Simone Mainardi 2017-05-03 17:35:32 +02:00
parent 04ae6a5973
commit 547e623273

View file

@ -1719,7 +1719,6 @@ local function engageAlert(ifid, engine, entity_type, entity_value, atype, akey,
engageReleaseAlert(true, ifid, engine, entity_type, entity_value, atype, akey, entity_info, alert_info)
if ntop.isPro() then
tprint("SENDING")
ntop.sendNagiosAlert(entity_value:gsub("@0", ""), akey, formatAlertMessage(ifid, entity_type, entity_value, atype, akey, entity_info, alert_info))
end
end
@ -1730,7 +1729,6 @@ local function releaseAlert(ifid, engine, entity_type, entity_value, atype, akey
engageReleaseAlert(false, ifid, engine, entity_type, entity_value, atype, akey, entity_info, alert_info)
if ntop.isPro() then
tprint("WITHDRAWING")
ntop.withdrawNagiosAlert(entity_value:gsub("@0", ""), akey, "Service OK.")
end
end