event trigger after ack
sar at isc.org
Thu Oct 1 20:46:24 UTC 2015
See the “on commit” (dhcpd.conf.5) and “execute” (dhcp-eval.5) statements.
In particular see the warning in dhcp-eval.5 about the program blocking until
the execute statement finishes.
> On Oct 1, 2015, at 8:46 AM, Leandro <ingrogger at gmail.com> wrote:
> Hi guys.
> Im thinking about a mechanism to fill a sql table with an updated leases status.
> Something like
> Time | Client-ip |Client MAC | Relay IP
> Oct 1 12:16:22 | 188.8.131.52 | d4:21:22:74:18:0a | 172.21.1.156
> I achieved this using a perl tail script on the dhcp.log file matching the ACK lines.
> I was wondering if is it possible to do the same using a triggered script executed by the daemon after an ACK event occurs.
> Anyone can point some documentation about it ?
> Is it true that this could be risky since a bad script can lead to wrong function of the service ?
> Any advice would be usefull.
> dhcp-users mailing list
> dhcp-users at lists.isc.org
More information about the dhcp-users