This is a utility for expiring unused (hosts that haven't been issued a DHCP lease within given time-frame) host entries.
expire-hosts [--help] {server} [OPTIONS]
option | description |
---|---|
--cidr=CIDR | Select only hosts within this CIDR block. |
--name=regexp | Select only hostnames matching the regular expression. |
--netname=regexp | Select only hosts in the networks matching the regular expression (selects only hosts within auto assign ranges in these networks). |
--treshold=days | Expire hosts with no DHCP activity in last <days> days (default: 90 days). |
--norecord | Expire only hosts wit no recorded DHCP activity. |
--edate=dd-mm-yyyy | Set hosts to expire on this date (default: now). |
--verbose | Make program to display more verbose output. |
--commit | Commit changes (without this no changes are made into database). |
By default this program will not make any changes to Sauron database, it will only display what would be made. Use --commit to make changes into Sauron database.