mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Adding a new timeseries: how to add number of unrecheable flows client/server per host.
This commit is contained in:
parent
9d09d2e616
commit
468558ddb4
16 changed files with 77 additions and 14 deletions
|
|
@ -183,6 +183,12 @@ function ts_dump.host_update_stats_rrds(when, hostname, host, ifstats, verbose)
|
|||
flows_as_server = host["anomalous_flows.as_server"]},
|
||||
when, verbose)
|
||||
|
||||
-- Number of unreachable flows
|
||||
ts_utils.append("host:unreachable_flows", {ifid = ifstats.id, host = hostname,
|
||||
flows_as_client = host["unreachable_flows.as_client"],
|
||||
flows_as_server = host["unreachable_flows.as_server"]},
|
||||
when, verbose)
|
||||
|
||||
-- Total number of alerts
|
||||
ts_utils.append("host:total_alerts", {ifid = ifstats.id, host = hostname,
|
||||
alerts = host["total_alerts"]},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue