[CentOS] [OT] Best way to get dhcpd messages piped to a web service.

2011-02-02 Thread Jason Pyeron
Starting off, it is important not to loose any dhcp messages, especially during log rotation. My first thought on this would be to add a fifo to syslog.conf and slup from it, like: # perl -ne 'm/.../ WWW::Curl ...' /var/log/messages.fifo Does anyone see a more proper way? tail -F / -f

Re: [CentOS] [OT] Best way to get dhcpd messages piped to a web service.

2011-02-02 Thread Cameron Kerr
On 03/02/11 12:45, Jason Pyeron wrote: [snip] Does anyone see a more proper way? That depends. What are you really wanting to achieve? Might your problem be better solved by looking at the dhcp leases file instead, or are you really just interested in the logs? search.cpan.org reveals