[ale] Monitoring dhcpd.leases file?

Jim Kinney jim.kinney at gmail.com
Thu Dec 18 13:31:01 EST 2014


You'll need to modify the dhcpd startup to tee the log file to the pipe
socket location. Be sure that socket is up first!
On Dec 18, 2014 1:04 PM, "James Sumners" <james.sumners at gmail.com> wrote:

> I need to monitor ISC's dhcpd.leases file so that I can feed new leases
> into a processor (which will log them to a database). My processor listens
> for data on a Unix socket . So I'll want to feed the data being appended to
> dhcpd.leases into that socket. But I also need it to still write to the
> leases file.
>
> Does anyone have any suggestions on how I might go about doing this? It's
> going to need to run non-stop.
>
> --
> James Sumners
> http://james.roomfullofmirrors.com/
>
> "All governments suffer a recurring problem: Power attracts pathological
> personalities. It is not that power corrupts but that it is magnetic to the
> corruptible. Such people have a tendency to become drunk on violence, a
> condition to which they are quickly addicted."
>
> Missionaria Protectiva, Text QIV (decto)
> CH:D 59
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20141218/a5927f47/attachment.html>


More information about the Ale mailing list