From c449824f7575cb1f674264c6a21c0ce34206557d Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 8 Sep 2009 17:45:56 +0200 Subject: [PATCH] =?utf8?q?powerdns=20plugin:=20Use=20the=20=E2=80=9Cipt=5F?= =?utf8?q?packets=E2=80=9D=20type=20rather=20than=20=E2=80=9Cio=5Fpackets?= =?utf8?q?=E2=80=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit “io_packets”, as the name suggests, requires incoming *and* outgoing packets. The infrastructure of the powerdns plugin uses only value lists with one data source though. Thanks to Luke for noticing! --- src/powerdns.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/powerdns.c b/src/powerdns.c index 7288c372..a2e5b359 100644 --- a/src/powerdns.c +++ b/src/powerdns.c @@ -164,13 +164,13 @@ statname_lookup_t lookup_table[] = /* {{{ */ {"latency", "latency", NULL}, /* Other stuff.. */ - {"corrupt-packets", "io_packets", "corrupt"}, + {"corrupt-packets", "ipt_packets", "corrupt"}, {"deferred-cache-inserts", "counter", "cache-deferred_insert"}, {"deferred-cache-lookup", "counter", "cache-deferred_lookup"}, {"qsize-a", "cache_size", "answers"}, {"qsize-q", "cache_size", "questions"}, - {"servfail-packets", "io_packets", "servfail"}, - {"timedout-packets", "io_packets", "timeout"}, + {"servfail-packets", "ipt_packets", "servfail"}, + {"timedout-packets", "ipt_packets", "timeout"}, {"udp4-answers", "dns_answer", "udp4"}, {"udp4-queries", "dns_question", "queries-udp4"}, {"udp6-answers", "dns_answer", "udp6"}, -- 2.30.2