Thanks, now I see it documented clearly as well! "The pool ID can be configured on each pool by explicitly setting the pool-id parameter in the pool parameter map. If not configured, pool-id defaults to 0. The statistics related to pool ID 0 refer to all the statistics of all the pools that have unconfigured pool-id. The pool ID does not need to be unique within the subnet or across subnets. The statistics regarding a specific pool ID within a subnet will be combined with the other statistics of all other pools with the same pool ID in the respective subnet.”
Norman From: Kea-users <kea-users-boun...@lists.isc.org> on behalf of Giddings, Bret via Kea-users <kea-users@lists.isc.org> Date: Thursday, December 12, 2024 at 4:20 AM To: Kea user's list <kea-users@lists.isc.org> Cc: Giddings, Bret <b...@essex.ac.uk> Subject: Re: [Kea-users] Per-Pool Statistics Hi Norman, If you don’t specify a pool-id, then they just get assigned and merged into a pool-id of 0. So, instead use something like “pools”: [ { “pool-id”: 1, “pool” : “192.0.2.100 - 192.0.2.149” }, { “pool-id”: 2, “pool” : “192.0.2.150 - 192.0.2.199” } ] However, it is probably a good idea to plan your pool-id’s and not change them without forward planning as they are recorded in the leases file. Regards, Bret From: Kea-users <kea-users-boun...@lists.isc.org> On Behalf Of Elton, Norman N Sent: Wednesday, December 11, 2024 9:38 PM To: kea-users@lists.isc.org Subject: [Kea-users] Per-Pool Statistics CAUTION: This email originated from outside our organisation. Do not click links or open attachments unless you recognise the sender and know the content is safe. If you are not sure it is safe, please contact the IT Helpdesk. On Kea 2.6.1, we have multiple pools within a subnet: “pools”: [ { “pool” : “192.0.2.100 - 192.0.2.149” }, { “pool” : “192.0.2.150 - 192.0.2.199” } ] When I run statistic-get-all, I see statistics for the first pool: subnet[1].pool[0].assigned-addresses subnet[1].pool[0].cumulative-assigned-address subnet[1].pool[0].declined-addresses But I don’t see anything for subnet[1].pool[1]. Any idea where the statistics for the second pool are going? Thanks, Norman
-- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users