Generate alerts when a quota is exceeded

This commit is contained in:
emanuele-f 2018-02-23 15:23:45 +01:00
parent 99a812eca9
commit 66b024c21d
7 changed files with 120 additions and 0 deletions

View file

@ -84,6 +84,9 @@ for _, ifname in pairs(interface.getIfNames()) do
-- Remove the active devices and pools keys
deleteActiveDevicesKey(ifid)
deleteActivePoolsKey(ifid)
-- Note: we do not delete this as quotas are persistent across ntopng restart
--deletePoolsQuotaExceededItemsKey(ifid)
end
-- ##################################################################