[Pdns-users] PowerDNS (Public) Graphing as a Service
bert.hubert at netherlabs.nl
Thu Dec 11 14:16:28 UTC 2014
(this message is also on
pictures and links)
Over the past few months, weÃ¢ÂÂve worked on our graphing tool, which has proved
to be a wonderful aid in debugging. If you want to get the best help from us
in diagnosing your problems, read on.
PowerDNS Authoritative Server and PowerDNS Recursor can both emit statistics
using the Ã¢ÂÂcarbonÃ¢ÂÂ format as used by Graphite. This means that feeding your
stats into the very powerful Graphite software is as easy as setting:
And from that point on, your PowerDNS product will send statistics to that
IP address every 30 seconds. The target address should either run Graphite,
or our own developed Metronome. Metronome is less powerful than Graphite,
the box, Metronome comes with support for graphing all PowerDNS products,
plus the output of a small statistics program we wrote that emits network
and CPU statistics.
To make this easier for everyone, we also run a public instance of Metronome
on http://xs.powerdns.com/metronome/, and you are welcome to configure your
PowerDNS products to send statistics by putting the following in pdns.conf
carbon-server=220.127.116.11 # the IPv6 address works as well
Your data will then appear in the dropdown with the name Ã¢ÂÂpick-somethingÃ¢ÂÂ.
If you donÃ¢ÂÂt pick your own name, PowerDNS will use your hostname, but you
might consider that to be too revealing. It might also trample existing
data. Carbon travels over port 2003, and if PowerDNS canÃ¢ÂÂt connect to the
server, nothing is interrupted.
For the PowerDNS Recursor, you can even enable carbon reporting at runtime
rec_control set-carbon-server 18.104.22.168 pick-something
To disable, run Ã¢ÂÂrec_control set-carbon-serverÃ¢ÂÂ.
If you have any (performance) issues with PowerDNS you want help with, it is
tremendously useful to turn on reporting to our Metronome instance Ã¢ÂÂ very
often we can spot your problem from the graph quickly.
Now, our public Metronome service is of course public, but you can obscure
your data by picking an innocuous carbon-ourname.
Private Metronome service is also available for holders of PowerDNS support
agreements. Finally, Metronome is easy to install, so you can also benefit
from it locally.
More information about the Pdns-users