Logging lease expiry to syslog
David McGaughey
mcgoy1 at clearwire.net
Mon Feb 2 18:15:58 UTC 2009
I can get it part of the way, but then get lost:
Log (info, concat(" lease address ",
Binary-to-ascii (10, 8, ".", leased-address), " expires in ",
Binary-to-ascii (10, 8, ".", encode-int(lease-time,32))));
David <http://mcgoy.plumbearcat.com/> McGaughey
Lubbock, Texas
mcgoy at plumbearcat.com
(806)438-7363
-----Original Message-----
From: dhcp-users-bounces at lists.isc.org
[mailto:dhcp-users-bounces at lists.isc.org] On Behalf Of M S
Sent: Monday, February 02, 2009 9:40 AM
To: dhcp-users at isc.org
Subject: Logging lease expiry to syslog
Hi,
I'm trying to log the lease expiry of an IP address when an allocation is
made. I'm not having much luck with this. Is this possible? Any pointers on
how to do this (examples would be good)?
thanks.
--MS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20090202/e753dd7b/attachment.html>
More information about the dhcp-users
mailing list