|
发表于 2007-9-26 10:42:53
|
显示全部楼层
nifi 你好!我也在关注这件事情!另外为什么我配置得syslog-ng 无法互相传送消息呢?我得client端该如何配置才能将信息发送给我得server?
以下是我得client配置
options { check_hostname(yes);
keep_hostname(yes);
chain_hostnames(no); };
source input {file("/test/test.log");};
destination outgo {tcp("192.168.81.165" port(514));};
log {source(input); destination(outgo);};
以下是我得server端
options { check_hostname(yes);
keep_hostname(yes);
chain_hostnames(no); };
source s_tcp {tcp("192.168.81.165" port(514));};
destination d_trans {file("/test/logfile.log");};
log { source(s_tcp); destination(d_trans);};
希望能给予解答,谢谢! |
|