From: bert hubert Date: Sat, 5 Dec 2015 22:09:55 +0000 (+0100) Subject: show some more block/drop kinds in webpage X-Git-Tag: dnsdist-1.0.0-alpha1~116 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=127e792060868c2273c7ee6ad43786b0fe9f4e38;p=thirdparty%2Fpdns.git show some more block/drop kinds in webpage --- diff --git a/pdns/dnsdistdist/html/index.html b/pdns/dnsdistdist/html/index.html index dcc6977b3e..a5f916f173 100644 --- a/pdns/dnsdistdist/html/index.html +++ b/pdns/dnsdistdist/html/index.html @@ -54,7 +54,7 @@

- Uptime: , Number of queries: ( qps), ACL drops:
+ Uptime: , Number of queries: ( qps), ACL drops: , Dynamic drops: , Rule drops: , Blockfilter drops:
Average response time: ms, CPU Usage: %, Server selection policy:
Listening on: , ACL:

diff --git a/pdns/dnsdistdist/html/local.js b/pdns/dnsdistdist/html/local.js index 1fae3bf5a3..84afcf7373 100644 --- a/pdns/dnsdistdist/html/local.js +++ b/pdns/dnsdistdist/html/local.js @@ -146,6 +146,9 @@ $(document).ready(function() { success: function(data, x, y) { $("#questions").text(data["queries"]); $("#acl-drops").text(data["acl-drops"]); + $("#dyn-drops").text(data["dyn-blocked"]); + $("#rule-drops").text(data["rule-drop"]); + $("#blockfilter-drops").text(data["block-filter"]); $("#uptime").text(moment.duration(data["uptime"]*1000.0).humanize()); $("#latency").text((data["latency-avg100"]/1000.0).toFixed(2)); if(!gdata["cpu-sys-msec"])