[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Monitoring dhcpd.leases file?
- Subject: [ale] Monitoring dhcpd.leases file?
- From: james.sumners at gmail.com (James Sumners)
- Date: Thu, 18 Dec 2014 13:43:54 -0500
- In-reply-to: <CAEo=5Pwzz-6uTYBD-6ugDBiZie3LgFD97RU87Q7yKPLqkd-vCQ@mail.gmail.com>
- References: <CAAt=rgCgdK8THshqTJHFnVGQR7d-DX=V02-vvjs1r66HorL=4A@mail.gmail.com> <CAEo=5Pwzz-6uTYBD-6ugDBiZie3LgFD97RU87Q7yKPLqkd-vCQ@mail.gmail.com>
On Thu, Dec 18, 2014 at 1:31 PM, Jim Kinney <jim.kinney at gmail.com> wrote:
>
> 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!
Hmmm. I don't think that could be done in /etc/sysconfig/dhcpd. I suppose
that would mean editing /etc/init.d/dhcpd :-/
My current idea is to start a separate `tail -f | socat` process. But that
fail if the receiving end needs to be restarted.
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20141218/a0fdf6a2/attachment.html>