mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 09:20:10 +00:00
Added hosts anomalies in traffic stats page
This commit is contained in:
parent
19d6b74457
commit
3dc84acdec
3 changed files with 23 additions and 0 deletions
|
|
@ -170,6 +170,9 @@ function dumpInterfaceStats(ifid)
|
|||
res["packets_upload"] = ifstats["eth"]["egress"]["packets"]
|
||||
res["packets_download"] = ifstats["eth"]["ingress"]["packets"]
|
||||
|
||||
res["num_local_hosts_anomalies"] = ifstats.anomalies.num_local_hosts_anomalies
|
||||
res["num_remote_hosts_anomalies"] = ifstats.anomalies.num_remote_hosts_anomalies
|
||||
|
||||
local ingress_thpt = ifstats["eth"]["ingress"]["throughput"]
|
||||
local egress_thpt = ifstats["eth"]["egress"]["throughput"]
|
||||
res["throughput"] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue