update-dhcp-info

Utility designed to be run from cron that parses logs generated by dhcpd and updates "Last lease issued by DHCP server" fields for hosts.

update-dhcp-info [--help] [--verbose] [--year=yyyy] {servername} logfile

Since normal syslog logfiles have timestamps without year information, option --year can be used to specify the year to be used if parsing logfiles from previous year. Normally update-dhcp-info assumes that the logfile is from current year.