On Thu, Jun 19, 2003 at 07:25:04AM -0400, Thomas Erskine wrote:
> I'm sorry, but these rrds aren't likely to help people who need it.  I'd 
> recommend djbdns instead, which does produce logs which can be 
> analyzed.  Unless newer versions of bind have some more reasonable method 
> of getting stats out, I can't offer anything better in remstats.
BIND9 writes to the statistics-file when you do 'rndc stats'.  You
configure the statistics-file in the "options" section of named.conf
like so:

options {
        ...
        statistics-file "/var/named.stats";
        ...
};

The statistics-file in question is of the format
+++ Statistics Dump +++ (1056027600)
success 24373098
referral 123288
nxrrset 2534924
nxdomain 1513560
recursion 25508236
failure 11206355
--- Statistics Dump --- (1056027600)

The numbers listed after success, referral, etc are all counters, and
the number in parenthesis on the "Statistics Dump" line is the time at
which the stat dump happened.

BIND8 writes statistics to the standard named log, assuming that you've
configured your logging options correctly.  Those are the XSTATS and
NSTATS lines, read DNS and BIND by Albitz and Liu if you feel a need to
decode them.  (Your effort is probably better spent on updating to
BIND9.)

Both of those are fairly lightweight, and shouldn't cause any noticable
impact on your nameservers.

-- 
Ed Schmollinger - [EMAIL PROTECTED]

-- Binary/unsupported file stripped by Ecartis --
-- Err : No filename to use for decode, file stripped.
-- Type: application/pgp-signature


--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to