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

Reply via email to