Implements Netfilter queue monitoring

This commit is contained in:
Simone Mainardi 2018-06-15 12:07:22 +02:00
parent c382fd4631
commit fd42cfd0cb
7 changed files with 81 additions and 48 deletions

View file

@ -108,6 +108,10 @@ function dumpInterfaceStats(interface_name)
res["bytes_download"] = ifstats["eth"]["ingress"]["bytes"]
end
if ntop.isnEdge() and ifstats.type == "netfilter" and ifstats.netfilter then
res["netfilter"] = ifstats.netfilter
end
if(ifstats.zmqRecvStats ~= nil) then
res["zmqRecvStats"] = {}
res["zmqRecvStats"]["flows"] = ifstats.zmqRecvStats.flows