Plugin:PowerDNS

From collectd Wiki
Revision as of 23:17, 11 October 2012 by ZaphodB (talk | contribs) (Synopsis: list all collectable stats current powerdns versions serve)

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>

Example graphs

None yet. Add one now!

Dependencies

  • none