2

I have seen a couple of post on SF like;

I want to graph statistics on 2 bind resolvers and 2 bind authoritative servers (into Cacti). It seems that adding the following to named.conf (or named.conf.options) enables the dumping of statistics when you run the file rndc stats:

statistics-file "/var/cache/bind/named.stats";
zone-statistics yes;

The stats in the named.stats file given are pretty poor;

cat /var/cache/bind/named.stats
+++ Statistics Dump +++ (1359639340)
success 25
referral 0
nxrrset 0
nxdomain 3
recursion 43
failure 0
duplicate 0
dropped 0
--- Statistics Dump --- (1359639340)

I believe there is a poor amount of statistics given because of the version of bind running, is that true?

named -version
BIND 9.4.2-P2.1

Look at all the stats this chap gets for example. Do I need to upgrade bind to get better stats, or is there some other way?

1 Answer 1

3

You can get much more statistics using Bind and then graph it in Cacti. For this I advice you to upgrade to Bind 9.6 and use scripted attached to post here (http://forums.cacti.net/viewtopic.php?f=12&t=42218) to get various statistics. Setup instructions are also listed there.

I found one more result from Cacti site: Bind 9.7 Usertemplate

2
  • 1
    Note: That should probably say 9.6 or later, as 9.9 is the current stable release.
    – Chris S
    Mar 30, 2013 at 18:48
  • Yes it seems updating bind is the way to go, I was trying to avoid that but ho hum, I shall have to bite the bullet. Thanks :)
    – Baldrick
    Apr 5, 2013 at 14:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .