mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Changes to DNS timeseries to show queries and replies together
This commit is contained in:
parent
54c961f3ce
commit
f827d8c700
4 changed files with 21 additions and 19 deletions
|
|
@ -205,19 +205,19 @@ function ts_dump.host_update_stats_rrds(when, hostname, host, ifstats, verbose)
|
|||
flows_as_server = host["host_unreachable_flows.as_server"],
|
||||
flows_as_client = host["host_unreachable_flows.as_client"]},
|
||||
when, verbose)
|
||||
|
||||
|
||||
-- Number of dns packets sent
|
||||
ts_utils.append("host:dns_sent", {ifid = ifstats.id, host = hostname,
|
||||
ts_utils.append("host:dns_qry_sent_rsp_rcvd", {ifid = ifstats.id, host = hostname,
|
||||
queries_packets = host["dns"]["sent"]["num_queries"],
|
||||
replies_ok_packets = host["dns"]["sent"]["num_replies_ok"],
|
||||
replies_error_packets =host["dns"]["sent"]["num_replies_error"]},
|
||||
replies_ok_packets = host["dns"]["rcvd"]["num_replies_ok"],
|
||||
replies_error_packets =host["dns"]["rcvd"]["num_replies_error"]},
|
||||
when, verbose)
|
||||
|
||||
-- Number of dns packets rcvd
|
||||
ts_utils.append("host:dns_rcvd", {ifid = ifstats.id, host = hostname,
|
||||
ts_utils.append("host:dns_qry_rcvd_rsp_sent", {ifid = ifstats.id, host = hostname,
|
||||
queries_packets = host["dns"]["rcvd"]["num_queries"],
|
||||
replies_ok_packets = host["dns"]["rcvd"]["num_replies_ok"],
|
||||
replies_error_packets = host["dns"]["rcvd"]["num_replies_error"]},
|
||||
replies_ok_packets = host["dns"]["sent"]["num_replies_ok"],
|
||||
replies_error_packets = host["dns"]["sent"]["num_replies_error"]},
|
||||
when, verbose)
|
||||
|
||||
-- Number of udp packets
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue