ack fullfill database
Mike.Akey at oregonstate.edu
Thu Dec 3 18:10:45 UTC 2015
I can't speak to the proper way, but I can say we also have a perl script tailing our dhcpd log for ACKs and stuffing them into a MySQL database. If you're losing ACKs it seems you might have some sort of throughput issue with regards to logging or your script. We don't filter at all and our script has been running fine for 10+ years with tens of thousands of clients.
If you did want to have your script only see ACKs, you could use syslog-ng and the message() filter to only find lines with DHCPACK and write those to a log file. That's just one example, I'm sure other logging software can do similar.
In any case, if there's a better way I'd love to hear about it.
Oregon State University
From: dhcp-users-bounces at lists.isc.org [dhcp-users-bounces at lists.isc.org] on behalf of Leandro [ingrogger at gmail.com]
Sent: Tuesday, December 01, 2015 9:52 AM
To: Users of ISC DHCP
Subject: ack fullfill database
I would like to know what is the propper way to get the las ack sended
by dhcpd and update a plain text / database register ?
Currently Im running a tail perl script on the dhcp log file and with a
regular expression I take the ACKs.
This method is ok for a littel amount of request, but it seems that
after the 10k requests , some ACKs are not parsed.
Is there for example a logging facility to take ONLY the ACKs ? It would
be very nice.
dhcp-users mailing list
dhcp-users at lists.isc.org
More information about the dhcp-users