[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Monitoring dhcpd.leases file?
- Subject: [ale] Monitoring dhcpd.leases file?
- From: jkinney at jimkinney.us (Jim Kinney)
- Date: Thu, 18 Dec 2014 15:07:01 -0500
- In-reply-to: <CAAt=rgBjjqG7F9QqSNM5WgN420uouz4VyE7FAXTW9aeEQXiiOA@mail.gmail.com>
- References: <CAAt=rgCgdK8THshqTJHFnVGQR7d-DX=V02-vvjs1r66HorL=4A@mail.gmail.com> <CAEo=5Pwzz-6uTYBD-6ugDBiZie3LgFD97RU87Q7yKPLqkd-vCQ@mail.gmail.com> <CAAt=rgBjjqG7F9QqSNM5WgN420uouz4VyE7FAXTW9aeEQXiiOA@mail.gmail.com>
Hmm. Maybe some network tweaks in syslog for dual local and network logging. If the far site goes down, the log just queues for it to return.
On December 18, 2014 1:43:54 PM EST, James Sumners <james.sumners at gmail.com> wrote:
>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
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>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
--
Jim Kinney
Linux Systems Analyst
Physicist/Brewer
http://jimkinney.us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20141218/3abbee4b/attachment.html>