I need to find statistics on a running server.

Petr Špaček pspacek at isc.org
Fri Jan 13 10:07:25 UTC 2023


And here is how you can configure it:
https://bind9.readthedocs.io/en/v9_18_10/reference.html#namedconf-statement-statistics-channels

HTH
Petr Špaček


On 12. 01. 23 21:31, Ondřej Surý wrote:
> It's generally better to pull the server statistics via statistics 
> channel via XML or JSON that can be directly parsed by many commonly 
> available libraries and tools.
> 
> Ondrej
> --
> Ondřej Surý (He/Him)
> ondrej at isc.org
> 
> My working hours and your working hours may be different. Please do not 
> feel obligated to reply outside your normal working hours.
> 
> 
> 
>> On 12. 1. 2023, at 20:25, King, Harold Clyde (Hal) via bind-users 
>> <bind-users at lists.isc.org> wrote:
>>
>> Thank you very much. I forgot about rndc stats
>>
>>
>> --
>>
>> Hal King  -hck at utk.edu <mailto:hck at utk.edu>
>> Systems Administrator
>> Office of Information Technology
>> Shared Services
>>
>> The University of Tennessee
>> 103c5 Kingston Pike Building
>> 2309 Kingston Pk. Knoxville, TN 37996
>> Phone: 974-1599
>> <Outlook-kyqfo42v.png>
>> ------------------------------------------------------------------------
>> *From:*Howard, Christopher <Christopher-Howard at utc.edu>
>> *Sent:*Thursday, January 12, 2023 1:42 PM
>> *To:*bind-users at lists.isc.org <bind-users at lists.isc.org>; King, Harold 
>> Clyde (Hal) <hck at utk.edu>
>> *Subject:*Re: I need to find statistics on a running server.
>> You can use "rndc stats" to have bind dump a file with stats in it. 
>>  This is how I get stats from our servers.  I store the values every 2 
>> minutes and create a dashboard from that.  Stuff like total queries, 
>> total queries from ipv4 clients, total queries from ipv6 clients, 
>> total A/AAAA/CNAME/PTR/NXDOMAIN requests/answers.  With it stored 
>> every 2 minutes it's easy to chart out number per second, of course 
>> that's averaged out over the 2 minute window.
>>
>> -Christopher
>>
>>
>> On Thu, 2023-01-12 at 18:30 +0000, King, Harold Clyde (Hal) via 
>> bind-users wrote:
>>> That's not bad idea.
>>>
>>>
>>> --
>>>
>>> Hal King  - hck at utk.edu
>>> Systems Administrator
>>> Office of Information Technology
>>> Shared Services
>>>
>>> The University of Tennessee
>>> 103c5 Kingston Pike Building
>>> 2309 Kingston Pk. Knoxville, TN 37996
>>> Phone: 974-1599
>>> <Outlook-bq1jm502.png>
>>> ------------------------------------------------------------------------
>>> *From:*Jeff Sumner <kc4fox at gmail.com>
>>> *Sent:*Thursday, January 12, 2023 1:22 PM
>>> *To:*King, Harold Clyde (Hal) <hck at utk.edu>; bind-users 
>>> <bind-users at lists.isc.org>
>>> *Subject:*Re: I need to find statistics on a running server.
>>> 	
>>> You don't often get email from kc4fox at gmail.com.Learn why this is 
>>> important <https://aka.ms/LearnAboutSenderIdentification>
>>> 	
>>>
>>> I’ve turned on query logging, then grepped for the count of lines 
>>> logged in a particular second.
>>>
>>> Worked well enough for the job at the time.
>>>
>>> J
>>>
>>> *De:*bind-users <bind-users-bounces at lists.isc.org> em nome de "King, 
>>> Harold Clyde (Hal) via bind-users" <bind-users at lists.isc.org>
>>> *Responder A:*"King, Harold Clyde (Hal)" <hck at utk.edu>
>>> *Data:*quinta-feira, 12 de janeiro de 2023 1:20 PM
>>> *Para:*bind-users <bind-users at lists.isc.org>
>>> *Assunto:*I need to find statistics on a running server.
>>>
>>> I need to find some answers like queries per second.  Any fast ideas 
>>> folks?
>>>
>>> --
>>>
>>> Hal King  - hck at utk.edu
>>> Systems Administrator
>>> Office of Information Technology
>>> Shared Services
>>>
>>> The University of Tennessee
>>> 103c5 Kingston Pike Building
>>> 2309 Kingston Pk. Knoxville, TN 37996
>>> Phone: 974-1599
>>> <image001.png>


More information about the bind-users mailing list