Plugin:PowerDNS

From collectd Wiki

Jump to: navigation, search
PowerDNS plugin
Type: read
Callbacks: config, read, shutdown
Status: supported
First version: 4.4
Copyright: 2007–2008 C-Ware, Inc.
2008 Florian octo Forster
License: GPLv2
Manpage: collectd.conf(5)
List of Plugins

The PowerDNS plugin connects to a local PowerDNS instance over the control sockets and queries information from the name server and the "recursor". Statistics include questions and answers by type, cache sizes, latency, etc.

Synopsis

<Plugin "powerdns">
  <Server "server_name">
    Collect "latency"
    Collect "udp-answers" "udp-queries"
    Collect "recursing-answers" "recursing-questions"
    Collect "packetcache-hit" "packetcache-miss"
    Collect "query-cache-hit" "query-cache-miss"
    Collect "packetcache-size" "qsize-q"
    Collect "corrupt-packets" "servfail-packets"
    Collect "tcp-answers" "tcp-queries"
    Collect "udp4-answers" "udp4-queries"
    Collect "udp6-answers" "udp6-queries"
    Collect "deferred-cache-inserts" "deferred-cache-lookup"
    Socket "/var/run/pdns.controlsocket"
  </Server>
  <Recursor "recursor_name">
    Collect "all-outqueries" "dlg-only-drops" "outgoing-timeouts"
    Collect "tcp-outqueries" "throttled-out" "throttled-outqueries"
    Collect "unreachables" "answers-slow" "answers0-1"
    Collect "answers1-10" "answers10-100" "answers100-1000"
    Collect "case-mismatches" "chain-resends" "client-parse-errors"
    Collect "edns-ping-matches" "edns-ping-mismatches" "ipv6-outqueries"
    Collect "no-packet-error" "noedns-outqueries" "noerror-answers"
    Collect "noping-outqueries" "nsset-invalidations" "nxdomain-answers"
    Collect "over-capacity-drops" "qa-latency" "questions"
    Collect "resource-limits" "server-parse-errors" "servfail-answers"
    Collect "spoof-prevents" "tcp-client-overflow" "tcp-questions unauthorized-tcp"
    Collect "unauthorized-udp" "unexpected-packets" "cache-entries"
    Collect "cache-hits cache-misses" "concurrent-queries" "negcache-entries"
    Collect "nsspeeds-entries" "packetcache-entries" "packetcache-hits"
    Collect "packetcache-misses" "sys-msec" "throttle-entries"
    Collect "uptime user-msec"
    Socket "/var/run/pdns_recursor.controlsocket"
  </Recursor>
  LocalSocket "/opt/collectd/var/run/collectd-powerdns"
</Plugin>

Please note that the stats listed here are for PowerDNS Server version 3.1 and PowerDNS recursor version 3.2, older versions might feature less stats and even some of their names have changed over time.

Example graphs

None yet. Add one now!

Dependencies

  • none