mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fixed DNS report
This commit is contained in:
parent
1a4c7c2388
commit
ed938dc6c1
2 changed files with 27 additions and 20 deletions
|
|
@ -358,6 +358,10 @@ function ts_dump.host_update_stats_rrds(when, hostname, host, ifstats, verbose)
|
|||
|
||||
-- Contacted Hosts Behaviour
|
||||
if host["contacted_hosts_behaviour"] then
|
||||
if(host.contacted_hosts_behaviour.hll_value > 0) then
|
||||
io.write(hostname.." [value: "..tostring(host.contacted_hosts_behaviour.hll_value).."][prediction: "..tostring(host.contacted_hosts_behaviour.hw_prediction).."]\n");
|
||||
end
|
||||
|
||||
ts_utils.append("host:contacts_behaviour", {ifid=ifstats.id, host=hostname,
|
||||
value=(host.contacted_hosts_behaviour.hll_value or 0), prediction=(host.contacted_hosts_behaviour.hw_prediction or 0)}, when)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue