jetzt_muss_der_client_konfiguriert_werden
Inhaltsverzeichnis
SysLog-Client
syslog-ng.conf
In Ubuntu liegt die Datei hier: “/etc/syslog-ng/syslog-ng.conf“
In diesem Beispiel hat der Server die IP "192.168.1.1".
options {
chain_hostnames(0);
time_reopen(10);
time_reap(360);
sync(0);
log_fifo_size(2048);
create_dirs(yes);
group(adm);
perm(0640);
dir_perm(0755);
use_dns(yes);
dns_cache(yes);
stats_freq(0);
bad_hostname("^gconfd$");
};
#
source src {
unix-dgram("/dev/log");
file("/proc/kmsg" log_prefix("kernel: "));
internal();
};
#
destination loghost {
tcp("192.168.1.1" port(514));
};
#
log {
source(src);
destination(loghost);
};
/home/http/wiki/data/pages/jetzt_muss_der_client_konfiguriert_werden.txt · Zuletzt geändert: von 127.0.0.1
