librenms / librenms-agent

LibreNMS Agent & Scripts
GNU General Public License v2.0
117 stars 188 forks source link

Provide dhcpd-pools leasefile location #407

Closed spyfly closed 2 years ago

spyfly commented 2 years ago

pfSense 2.6 would previously throw an error when executing the dhcp.py script: dhcpd-pools: parse_leases: /var/db/dhcpd/dhcpd.leases: No such file or directory

Passing the configured leasefile location to dhcpd-pools fixes this issue.