mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
AJAX updates of flows dropped
This commit is contained in:
parent
d84bc95d3f
commit
09ae32b324
4 changed files with 10 additions and 2 deletions
|
|
@ -114,6 +114,11 @@ else
|
|||
end
|
||||
|
||||
print ("\"column_num_flows\" : \""..host["active_flows.as_client"]+host["active_flows.as_server"].."\",")
|
||||
|
||||
if isBridgeInterface(interface.getStats()) then
|
||||
print ("\"column_num_dropped_flows\" : \""..(host["flows.dropped"] or 0).."\",")
|
||||
end
|
||||
|
||||
print ("\"column_alerts\" : \"")
|
||||
if((host["num_alerts"] ~= nil) and (host["num_alerts"] > 0)) then
|
||||
print(""..host["num_alerts"].."\",")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue