From: Florian Forster Date: Tue, 8 Sep 2009 15:45:56 +0000 (+0200) Subject: powerdns plugin: Use the “ipt_packets” type rather than “io_packets”. X-Git-Tag: collectd-4.6.5~4 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=c449824f7575cb1f674264c6a21c0ce34206557d;p=collectd.git powerdns plugin: Use the “ipt_packets” type rather than “io_packets”. “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! --- 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"},