I need to parse dhcpd.leases to store data in mysql
dhcp1 at thehobsons.co.uk
Fri Jun 30 13:14:51 UTC 2006
Brent L. Bates wrote:
> Could the syslog output be of any help for the person trying to log
>everything to his MySQL data base? He could have all this output sent to its
>own log file. I know the default output doesn't have all the information he
>needs. However, are there any `ifdefs' that might turn this information on
>and log it? If not, how difficult would it be to modify the source to do so?
> Just some ideas.
A good point. Another option would be to use the "on <action> ..."
external links, eg "on commit <call code to add record to database>".
Though care needs to be taken when using these not to introduce too
much latency into the server.
More information about the dhcp-users