[Kea-users] Active Lease Count

Shobhith Chikku shobhithchikku at gmail.com
Thu Jun 22 10:40:45 UTC 2023


Hi,
Do we have any command/way to get the count of the current active leases?
I checked out *statistic-get-all, *but that is giving like timestamp-wise
count.
Do we have any method to get the total count of active leases in sync with
the configuration?

Below is the sample output of  statistic-get-all
 "subnet[818405].assigned-addresses": [
      [
        *60000*,
        "2023-06-16 05:17:16.174369"
      ],
      [
        *0*,
        "2023-06-16 05:17:16.174354"
      ]
    ],
    "subnet[818405].cumulative-assigned-addresses": [
      [
        0,
        "2023-06-16 05:17:16.168734"
      ]
    ],
    "subnet[818405].declined-addresses": [
      [
        0,
        "2023-06-16 05:17:16.174356"
      ]
    ],
    "subnet[818405].reclaimed-declined-addresses": [
      [
        0,
        "2023-06-16 05:17:16.174358"
      ]
    ],
    "subnet[818405].reclaimed-leases": [
      [
        0,
        "2023-06-16 05:17:16.174361"
      ]
    ],
    "subnet[818405].total-addresses": [
      [
        110002,
        "2023-06-16 05:17:16.168732"
      ]
    ],
    "subnet[818405].v4-reservation-conflicts": [
      [
        0,
        "2023-06-16 05:17:16.168736"
      ]
    ],

Thank you,

Shobhith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20230622/ebf3887e/attachment.htm>


More information about the Kea-users mailing list