A Python 3 tool for reporting DHCPd IP pool allocation from server configuration and lease files.
git clone git@github.com:AzorianSolutions/dhcpd-report.git
cd dhcpd-report
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Place your dhcpd.conf
, dhcpd.leases
, and other related configuration files in subdirectories of ./data
and run ./toolio.py
.
If you wish to only import active DHCP leases, then specify the -a
flag when calling toolio.py
.
The script will generate a CSV report for each subdirectory of ./data
and save the
file to the ./reports
directory.
Like my work?
Want to sponsor me? Please visit my organization's sponsorship page.