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?

jwbensley
  • 4,202
  • 11
  • 58
  • 90

1 Answers1

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

truongtx
  • 50
  • 4
Meriadoc Brandybuck
  • 1,330
  • 9
  • 11
  • 1
    Note: That should probably say 9.6 or later, as 9.9 is the current stable release. – Chris S Mar 30 '13 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 :) – jwbensley Apr 05 '13 at 14:06