[syslog-ng]pipe destination and HPUX
Stephan Hendl
syslog-ng@lists.balabit.hu
Tue, 21 Dec 2004 07:36:52 +0100
I've tried that out but it doesn't help me. The messages from the
"syslog-clients" arrive perectly and are written into the cic.log-file
but _not_ into the pipe ;-(((
Stephan
>>> brett.stevens@hubbub.com.au 12/21/04 12:02 >>>
Looking at your config you seem to have specified a ip and prot for
your
tcp. Just try it without such as source s_tcp{();};
This is what I use to log approximately 80-100 devices to two servers
(number varies as this is a development site with large amounts of
vmware
servers.
Best of luck
Brett Stevens
-----Original Message-----
From: Stephan Hendl [mailto:Stephan.Hendl@lds.brandenburg.de]
Sent: Monday, December 20, 2004 6:43 PM
To: syslog-ng@lists.balabit.hu
Subject: [syslog-ng]pipe destination and HPUX
Hi all,
I try to get syslog messages via tcp and want to write them into a pipe
with
HPUX 11.11v1 and syslog-ng-1.6.5. The messages arrive perfectly (I
conttrolled this via writing in a file) but the pipe is still empty.
Only
messages from local sources get into it.
Does anybody have an idea?
Ciao
Stephan
# syslog-ng configuration file.
#
# This should behave pretty much like the original syslog on HP-UX. But
# it
could be configured a lot smarter. # # See syslog-ng(8) and
syslog-ng.conf(8) for more information. # # 20000925 gb@sysfive.com
options { sync (0);
time_reopen (10);
log_fifo_size (1000);
long_hostnames (off);
use_dns (no);
use_fqdn (no);
create_dirs (no);
keep_hostname (yes);
};
source s_sys { pipe("/dev/log" pad_size(2048)); internal(); }; source
s_tcp
{ tcp(ip(10.128.8.173) port(10514) keep-alive(no)); };
destination d_cic.log { file("/var/adm/syslog/cic.$YEAR$MONTH$DAY"
owner("root") group("sys") perm(0644) template(
"$DATE $HOST $MESSAGE\n") template-escape(yes)); }; destination
d_cic.pipe
{ pipe("/tmp/cic.pipe" owner("root")
group("root") perm(0640) template( "$DATE $HOST $MESSA
GE\n") template-escape(yes)); };
log { source(s_sys); destination(d_cic.log); };
log { source(s_tcp); destination(d_cic.log); };
log { source(s_sys); destination(d_cic.pipe); };
log { source(s_tcp); destination(d_cic.pipe); };
_______________________________________________
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
_______________________________________________
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