DHCP metrics

Alan DeKok aland at deployingradius.com
Fri Jun 14 08:52:23 CEST 2019


On Jun 13, 2019, at 4:55 PM, Damon Munhall <damon at munhall.net> wrote:
> 
> This is a high-level question, but my searching hasn't yielded anything
> similar, thus far.  Are DHCP metrics generated and accessible, somehow?
> Specifically, the number of each type of DHCP packet sent/received, and any
> DHCP-related errors generated.

  Some information is kept, but not as much as RADIUS.

> The status module has similar functionality, but only appears to report-on
> RADIUS metrics.  I'm interested in, and working with, different DHCP
> functionality in the latest 3.x and 4.x (primarily 4.x).
> 
> My 'plan-B' would likely involve some logging/log-scraping, but that will
> certainly have more performance overhead.

  We're always open for patches.  Adding some DHCP stats to v3 would be fine.

  In v4, the server is much more protocol independent.  There's a "stats" module which does statistics for any protocol (modulo some minor tweaking).  It can also add stats to any incoming packet, such as Status-Server.

  There's some minor tweaking to do for the stats module to finish it, but it's not a lot.

  Alan DeKok.




More information about the Freeradius-Users mailing list