How do I get statistics from BIND 9.3.2?
Mark Andrews
Mark_Andrews at isc.org
Fri Feb 24 22:59:58 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";
Presuming you run with "named -t /var/named" then it should be.
statistics-file "/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
>
>
>
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at isc.org
More information about the bind-users
mailing list