syslog-ng 설정값


syslog-ng 설정값

======================================================


options {


long_hostnames(off);

sync(0);

stats(43200);

dns_cache(yes);

use_fqdn(no);

keep_hostname(yes);

use_dns(yes);

};



source gateway {

unix-stream("/dev/log");

internal();

udp(ip(0.0.0.0) port(514));

};



source tcpgateway {

unix-stream("/dev/log");

internal();

tcp(ip(0.0.0.0) port(514) max_connections(1000));

};



destination hosts {

file("/home2/syslogs/$HOST/$FACILITY"

owner(root) group(root) perm(0600) dir_perm(0700)

create_dirs(yes));

};



log {

source(gateway); destination(hosts);

};



log {

source(tcpgateway); destination(hosts);

};

댓글

이 블로그의 인기 게시물

사자성어

외계인(에어럴) 인터뷰 전체 문서

스타크래프트 무한 미네랄 만드는 방법