From b0d5d09952f0e0dc3c3b4d7a7d7d40fa4fff58d1 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Sat, 5 Dec 2015 16:28:24 +0100 Subject: [PATCH] make webserver display acl-drops - vital debugging hint. Plus GPL reminder. --- pdns/dnsdistdist/html/index.html | 3 ++- pdns/dnsdistdist/html/local.js | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pdns/dnsdistdist/html/index.html b/pdns/dnsdistdist/html/index.html index 9349f6ca3..da7604a09 100644 --- a/pdns/dnsdistdist/html/index.html +++ b/pdns/dnsdistdist/html/index.html @@ -50,8 +50,9 @@

- Version: , uptime: , Number of queries: ( qps)
+ Version: , uptime: , Number of queries: ( qps), ACL drops:
Average response time: ms, CPU Usage: %, Server selection policy:
+ dnsdist comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2

diff --git a/pdns/dnsdistdist/html/local.js b/pdns/dnsdistdist/html/local.js index ded7ecc2a..79f32d4f6 100644 --- a/pdns/dnsdistdist/html/local.js +++ b/pdns/dnsdistdist/html/local.js @@ -145,8 +145,7 @@ $(document).ready(function() { dataType: 'jsonp', success: function(data, x, y) { $("#questions").text(data["queries"]); - $("#over-capacity-drops").text(data["over-capacity-drops"]); - $("#too-old").text(data["too-old-drops"]); + $("#acl-drops").text(data["acl-drops"]); $("#uptime").text(moment.duration(data["uptime"]*1000.0).humanize()); $("#latency").text((data["latency-avg100"]/1000.0).toFixed(2)); if(!gdata["cpu-sys-msec"]) -- 2.40.0