[ale] Monitoring dhcpd.leases file?

Jim Kinney jkinney at jimkinney.us
Thu Dec 18 15:07:01 EST 2014


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>


More information about the Ale mailing list