How do I get statistics from BIND 9.3.2?

Søren soren at removethis.com
Fri Feb 24 20:57:38 UTC 2006


>> I am currently running with UCD-SNMP and as far as I
>> understand they are not compatible with eachother (cacti need
>> NET-SNMP). Are there anyway to get the information from UCD-SNMP?
>
> http://www.packetmischief.ca/network/monitoring/bind9/#download

I get this error when I try to run "rndc stats". Why? I have tried to Google 
without any useable result.

root at pc# rndc stats
rndc: 'stats' failed: file not found

/var/named/etc/namedb/named.conf:
options {
[CUT]
listen-on { 127.0.0.1; 192.168.1.6; };
directory "/etc/namedb";
pid-file "/var/run/named/pid";
zone-statistics yes;
statistics-file "/var/named/var/log/named.stats";
};

root at pc# ls -l /var/named/var/log/
total 108604
-rw-r--r--  1 bind  bind     364350 Oct 18 06:35 client.log
-rw-r--r--  1 bind  bind        386 Feb  9 20:18 config.log
-rw-r--r--  1 bind  bind   48989087 Feb 23 22:31 database.log
-rw-r--r--  1 bind  bind      16142 Feb 17 20:49 default.log
-rw-r--r--  1 bind  bind          0 Apr  9  2005 dispatch.log
-rw-r--r--  1 bind  bind          0 Apr  9  2005 dnssec.log
-rw-r--r--  1 bind  bind    1868341 Feb 24 21:44 general.log
-rw-r--r--  1 bind  bind          0 Feb 24 21:41 named.stats




More information about the bind-users mailing list