Re: Change in statistics format

2012-11-15 Thread Ted Mittelstaedt
Hi Peter, Would you consider donating that script to ISC so they can bundle it with the BIND distribution? I have a whole library of scripts like yours which I've collected over the last 10 years. Most of the hosts that are linked to as where these scripts are located are long gone and the

Re: Change in statistics format

2012-11-15 Thread Carl Byington
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 2012-11-15 at 21:31 -0500, Silas Cutler wrote: > allow-query { none; }; > allow-transfer { 10.0.0.1; }; I think the slave needs to do an SOA query before it will even try the transfer. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0

Re: Change in statistics format

2012-11-15 Thread Silas Cutler
Its there zone "rpz" { type master; file "/etc/bind/zones/rpz.db"; allow-query { none; }; allow-transfer { 10.0.0.1; }; }; On 11/15/12 8:10 PM, Peter Yardley wrote: > I wrote a script to extract stats from the XML channel. Works for cricket, > cacti, MRTG ... > > You can find it

Re: Change in statistics format

2012-11-15 Thread Evan Hunt
> Looks like I'll have to update it for 9.10 tho, hope they updated the > schema number. Yes, we did. -- Evan Hunt -- e...@isc.org Internet Systems Consortium, Inc. ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from

Re: Change in statistics format

2012-11-15 Thread Peter Yardley
I wrote a script to extract stats from the XML channel. Works for cricket, cacti, MRTG ... You can find it here… Looks like I'll have to update it for 9.10 tho, hope they updated the schema number. On 16/11/20

Re: Change in statistics format

2012-11-15 Thread John Miller
Thanks, Evan. That's exactly what I wanted to know. I'm already running the statistics server, so I'd certainly prefer to leverage that rather than rely on a bunch of regexes to parse the statistics file. I'll let the folks at Hyperic know about the upcoming schema changes. John On 11/15/20

Re: Change in statistics format

2012-11-15 Thread John Miller
Thank you! Just downloaded a copy, and looks pretty straightforward. John On 11/15/2012 12:13 PM, Jan-Piet Mens wrote: Thanks, Phil. Those were my thoughts as well. For the present, I'll write my own monitoring plugin to parse the XML data. If you need some inspiration, I wrote a bit of C c

Re: Change in statistics format

2012-11-15 Thread Evan Hunt
On Thu, Nov 15, 2012 at 11:44:12AM -0500, John Miller wrote: > Hello everyone, > > When did BIND 9 switch over from the older The new stats counters were added in 9.5.0. They're in all currently- supported releases; the old format is fully deprecated now. Incidentally, that release also introdu

Re: Change in statistics format

2012-11-15 Thread Jan-Piet Mens
> Thanks, Phil. Those were my thoughts as well. For the present, > I'll write my own monitoring plugin to parse the XML data. If you need some inspiration, I wrote a bit of C code [1] which does that rather effectively. It doesn't do what you want, but it may get you started. ;-) -JP

Re: Change in statistics format

2012-11-15 Thread John Miller
Thanks, Carsten, I've opened bug #4619 and indeed asked Hyperic to parse the XML output. I agree, it's much nicer than trying to parse the rndc.stats file! If anyone here has already written a BIND plugin for Hyperic, let me know--I'd love to have a copy and see if it'll work for us. John

Re: Change in statistics format

2012-11-15 Thread Carsten Strotmann
Hello John, John Miller writes: > Hello everyone, > > When did BIND 9 switch over from the older > > +++ Statistics Dump +++ (timestamp) > success # > referral # > nxrrset # > nxdomain # > recursion # > failure # > --- Statistics Dump --- (timestamp) > > to the newer > > +++ Statistics Dump +++

Re: Change in statistics format

2012-11-15 Thread John Miller
Thanks, Phil. Those were my thoughts as well. For the present, I'll write my own monitoring plugin to parse the XML data. John On 11/15/2012 11:47 AM, Phil Mayers wrote: On 15/11/12 16:44, John Miller wrote: Hello everyone, When did BIND 9 switch over from the older I think that was *ye

Re: Change in statistics format

2012-11-15 Thread Phil Mayers
On 15/11/12 16:44, John Miller wrote: Hello everyone, When did BIND 9 switch over from the older I think that was *years* ago? I'm getting ready to file a bug for our monitoring software (Hyperic HQ), because it only reads the older format, and wanted to be sure I had my ducks in a row. Y

Change in statistics format

2012-11-15 Thread John Miller
Hello everyone, When did BIND 9 switch over from the older +++ Statistics Dump +++ (timestamp) success # referral # nxrrset # nxdomain # recursion # failure # --- Statistics Dump --- (timestamp) to the newer +++ Statistics Dump +++ (timestamp) ++ Incoming Requests ++ x QUERY ++