expire-hosts

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]

optiondescription
--cidr=CIDRSelect only hosts within this CIDR block.
--name=regexpSelect only hostnames matching the regular expression.
--netname=regexpSelect only hosts in the networks matching the regular expression (selects only hosts within auto assign ranges in these networks).
--treshold=daysExpire hosts with no DHCP activity in last <days> days (default: 90 days).
--norecordExpire only hosts wit no recorded DHCP activity.
--edate=dd-mm-yyyySet hosts to expire on this date (default: now).
--verboseMake program to display more verbose output.
--commitCommit 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.