Improved behavioural charts

This commit is contained in:
Luca Deri 2021-03-14 16:34:47 +01:00
parent 8a90e09b7a
commit d0a0c554fc
3 changed files with 11 additions and 11 deletions

View file

@ -388,7 +388,7 @@ function ts_dump.host_update_stats_rrds(when, hostname, host, ifstats, verbose)
if host["score_behaviour"] then
local h = host["score_behaviour"]
-- tprint(h)
--tprint(h)
ts_utils.append("host:cli_score_behaviour", {ifid=ifstats.id, host=hostname,
value=h["as_client.value"], lower_bound=h["as_client.lower_bound"], upper_bound = h["as_client.upper_bound"]}, when)
ts_utils.append("host:srv_score_behaviour", {ifid=ifstats.id, host=hostname,
@ -399,7 +399,7 @@ function ts_dump.host_update_stats_rrds(when, hostname, host, ifstats, verbose)
if host["active_flows_behaviour"] then
local h = host["active_flows_behaviour"]
-- tprint(h)
--tprint(h)
ts_utils.append("host:cli_active_flows_behaviour", {ifid=ifstats.id, host=hostname,
value=h["as_client.value"], lower_bound=h["as_client.lower_bound"], upper_bound = h["as_client.upper_bound"]}, when)
ts_utils.append("host:srv_active_flows_behaviour", {ifid=ifstats.id, host=hostname,