DHCP client statistics

For an instance that is also acting as DHCP server, is there an accurate way to get a count of leases? Ideally, it would allow a summary view of those clients by recent activity (active in last x minutes). The closest thing I have found is in the chronometer view:
Screen Shot 2023-11-29 at 12.13.29 PM

Incidentally, I'm pretty sure the information given in that screenshot for DHCP usage is incorrect. This is my DHCP pool settings, and there should be many more than 231 possible leases.
Screen Shot 2023-11-29 at 12.49.27 PM

Can you open an issue at the PADD respository? GitHub - pi-hole/PADD: PADD (formerly Chronometer2) is a more expansive version of the original chronometer.sh that is included with Pi-Hole. PADD provides in-depth information about your Pi-hole.

I'm not sure whether that larger number would refer to the DHCP pool size.

'(Leased: 120 of 231)' could mean that of 231 known clients, 120 are currently active.

pi@ph5b:~ $ grep -c . /etc/pihole/dhcp.leases
11

:+1:

I was unaware of PADD. After pulling it down and running, it is showing the correct number of clients (that matches /etc/pihole/dhcp.leases). Would the issue you suggest I open be about the recently active clients?

Oh! Was this with pihole -c? Honestly the chronometer display is effectively deprecated but an issue on the GitHub - pi-hole/pi-hole: A black hole for Internet advertisements core repo seems appropriate to me for the chronometer code.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.