Change in statistics format

John Miller johnmill at brandeis.edu
Thu Nov 15 17:06:43 UTC 2012


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


On 11/15/2012 11:58 AM, Carsten Strotmann wrote:
>
> Hello John,
>
> John Miller <johnmill at brandeis.edu> 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 +++ (timestamp)
>> ++ Incoming Requests ++
>>                 x QUERY
>> ++ Incoming Queries ++
>
> [...]
>
>>
>> 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.
>
> I'm not sure in which version this change of the output happen, but if
> you write a bug report for the monitoring system, you might want to ask
> the vendor/developer to also implement an option to parse the BIND
> statistics channel output data.
>
> The statistics channel delivers well formed XML, which (in my view) is
> much easier to parse compared to the text output produced by "rndc
> stats". With proper XML parsing, it should also guard against issues in
> case the statistics data be expanded in the future.
>
> And as a bonus, there is much more interesting data in the statistics
> channel XML.
>
> -- Carsten
>



More information about the bind-users mailing list