[prev in list] [next in list] [prev in thread] [next in thread]
List: syslog-ng
Subject: Re: [syslog-ng] Run 2 syslog-ng by defferent configurations
From: Takenaka Kazuhiro <takenaka.kazuhiro () oss ! ntt ! co ! jp>
Date: 2007-12-28 6:41:37
Message-ID: 47749AA1.40501 () oss ! ntt ! co ! jp
[Download RAW message or body]
Hi Evan.
I tryed the 1st configurration you advised,
and got a pretty good result.
Thanks much.
> We do this all of the time.
> The only thing to ensure is that the "high availablity" instance does not
> open /dev/log or /proc/kmsg. You will have to get the "system" instance that
> is reading /dev/log and /proc/kmsg to send its logs through to the High Availablity
> instance. We do this in different ways for different purposes. Choose only one.
>
> 1. Have the high availability read messages from localhost:someport
> where someport is NOT 514. Then have the system instance have a
> TCP destination of localhost:someport
>
> 2. Have the high availablity read message from a pipe that has been
> setup with mkfifo prior to starting the instance.
> Then have the system instance write to the pipe as one of its outputs.
>
> That should take care of it.
>
> Evan.
--
Takenaka Kazuhiro <takenaka.kazuhiro@oss.ntt.co.jp>
NTT OSS Center
_______________________________________________
syslog-ng maillist - syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic