blackbox_exporter icon indicating copy to clipboard operation
blackbox_exporter copied to clipboard

Implement DHCP

Open rdelaage opened this issue 2 years ago • 3 comments

Hi all!

I would like to monitor a DHCP server and collect some statistics (mostly duration). DHCP is built on UDP. I saw #184 but I think it would be better to implement a specific prober (like for the DNS protocol).

I would enjoy helping you with this task :)

rdelaage avatar Jan 05 '24 11:01 rdelaage

A reference could be the Nagios implementation https://github.com/nagios-plugins/nagios-plugins/blob/master/plugins-root/check_dhcp.c

rdelaage avatar Jan 09 '24 08:01 rdelaage

This is an interesting idea. But maybe due to the complexity of handling DHCP packets it's worth making this a separate exporter/prober first.

Do you have an example collector for this? What Go libraries would you need?

SuperQ avatar Jan 09 '24 09:01 SuperQ