dhcpd.leases synchronization in DHCP failover

Eugene Grosbein eugen at grosbein.net
Fri Dec 21 20:17:17 UTC 2018


21.12.2018 21:44, DUPALUT, Benjamin wrote:

> I want to monitor the percentage of use for some of my DHCP pools.
> 
> I intended to write a script who would have parsed dhcpd.leases but i found out that my failover dhcp servers doesn't have the same active leases in their dhcpd.leases files. Is this the expected behavior or are my servers wrongly configured ?
> 
> I cannot find clear documentations about this topic.
> 
> Thanks in advance for your help.

We use http://dhcpd-pools.sourceforge.net/ for same goal and with failover setup, too.
It gives extensive stats like this:

shared net name     first ip           last ip            max   cur    percent  touch   t+c  t+c perc     bu  bu perc
HotSpot             X.X.X.65         - X.X.Y.126         62     4      6.452     49    53    85.484      9   14.516
HotSpot             Y.Y.Y.64         - Y.Y.Y.254        447    31      6.935    303   334    74.720    113   25.280



More information about the dhcp-users mailing list