event trigger after ack
ingrogger at gmail.com
Thu Oct 1 15:46:29 UTC 2015
Im thinking about a mechanism to fill a sql table with an updated leases
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.
More information about the dhcp-users