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)
ond...@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@lists.isc.org> wrote:
Thank you very much. I forgot about rndc stats
--
Hal King -h...@utk.edu <mailto:h...@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-how...@utc.edu>
*Sent:*Thursday, January 12, 2023 1:42 PM
*To:*bind-users@lists.isc.org <bind-users@lists.isc.org>; King, Harold
Clyde (Hal) <h...@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 - h...@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 <kc4...@gmail.com>
*Sent:*Thursday, January 12, 2023 1:22 PM
*To:*King, Harold Clyde (Hal) <h...@utk.edu>; bind-users
<bind-users@lists.isc.org>
*Subject:*Re: I need to find statistics on a running server.
You don't often get email from kc4...@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-boun...@lists.isc.org> em nome de "King,
Harold Clyde (Hal) via bind-users" <bind-users@lists.isc.org>
*Responder A:*"King, Harold Clyde (Hal)" <h...@utk.edu>
*Data:*quinta-feira, 12 de janeiro de 2023 1:20 PM
*Para:*bind-users <bind-users@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 - h...@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>
--
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from
this list
ISC funds the development of this software with paid support subscriptions.
Contact us at https://www.isc.org/contact/ for more information.
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users