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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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 could both miss messages during log rotation (please correct me if
I am wrong)

What are some of the problems that could be manifested in syslog if the fifo
consumer stops consuming or has other issues? 

-Jason

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux