monitor isc-dhcpd servers with telegraf, influxdb, dhcpd-pools, dhcpd
Collector Configuration Details
install dhcpd-pools - http://dhcpd-pools.sourceforge.net/
create a short script...
/usr/local/bin/dhcpd-pools -c /etc/dhcp/dhcpd.conf --format=j > /var/www/html/dhcpd/dhcpd.json
test by hand...
create telegraf config file
urls = [ "http://dhcp.host.address/dhcpd/dhcpd.json" ]
method = "GET"
timeout = "15s"
data_format = "json"
json_string_fields = ["fields.*"]
name_override = "dhcpd_stats"
once that's all working and tested manually, import the dashboard and update the queries to reflect the urls you're collecting from.
Last step is to add the script you created to the cron of the dhcpd server. I run it once a minute.
note: the gauge is calculated with nested select statements