Re: Bind9.6.0 Statistics Output

2009-08-03 Thread JINMEI Tatuya / 神明達哉
At Thu, 30 Jul 2009 09:53:13 +0200,
Dangl, Thomas thomas.t.da...@siemens.com wrote:

 I collect statistics data via the http interface and parse the XML file.
  
 There are some differences of the layout of the XML result between
 Bind9.5 and Bind9.6.

To be precise, there have been substantial changes in (IIRC) 9.5.1
from 9.5.0, so it's actually not between 9.5 and 9.6.  Note that the
XML format is still considered experimental, and backward
incompatible changes may still happen.  However, we understand such
changes are very inconvenient even if it's still experimental, and
we'll try to keep future changes in a backward compatible manner as
much as possible.

 Is there an option or configuration parameter that allows to control the
 XML format?

No, but you can at least check the statistics version to see if it's
compatible for your parser.  The current version is 2.0, and, in
general, changes in the same major version (currently 2) should be
backward compatible.

 There are 2 views found in the XML file named _default and bind.
 Is there a view - or rather one of these views - that is included in
 each XML statistics result that contains the total of the counter across
 all views?
 Or is it necessary to parse across all views and calculate the sum? 

The latter.  If a statistics counter is provided per-view basis, you
need to sum up the counters of all views to get the total.

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Bind9.6.0 Statistics Output

2009-07-30 Thread Dangl, Thomas
I collect statistics data via the http interface and parse the XML file.
 
There are some differences of the layout of the XML result between
Bind9.5 and Bind9.6.
 
Is there an option or configuration parameter that allows to control the
XML format?
 
The resstat counters are no longer in the server section of the XML,
but they occur in each view.
There are 2 views found in the XML file named _default and bind.
Is there a view - or rather one of these views - that is included in
each XML statistics result that contains the total of the counter across
all views?
Or is it necessary to parse across all views and calculate the sum? 
 
Maybe there is some link to a description that you could provide.
 
Thanks a lot in advance
 
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users