mirror of
https://github.com/ntop/ntopng.git
synced 2026-06-01 05:51:57 +00:00
Implements dropped flow informative alerts
This commit is contained in:
parent
45e2de0108
commit
503e367864
6 changed files with 12 additions and 1 deletions
|
|
@ -104,7 +104,6 @@ void GenericTrafficElement::lua(lua_State* vm, bool host_details) {
|
|||
lua_push_float_table_entry(vm, "last_throughput_pps", last_pkts_thpt);
|
||||
lua_push_int_table_entry(vm, "throughput_trend_pps", pkts_thpt_trend);
|
||||
|
||||
total_num_dropped_flows = 1; /* TODO: remove */
|
||||
if(total_num_dropped_flows)
|
||||
lua_push_int_table_entry(vm, "flows.dropped", total_num_dropped_flows);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue