What
version of syslog-ng are you using?
dnscache(yes) should be dns_cache(yes)
use_time_recvd(true) should be use_time_recvd(yes)
try
pipe("/proc/kmsg" log_prefix("kernel: ")); instead of
file(...
Regards,
Drew
Hi, I have set this configuration on central
logserver
options {
long_hostnames(off);
sync(0);
log_fifo_size(1000);
dnscache(yes);
use_fqdn(yes);
use_time_recvd(true);
};
source src {
internal();
file("/proc/kmsg"
log_prefix("kernel: "));
tcp(ip(192.168.52.100) port(514)
max-connections(1000));
udp(ip(0.0.0.0) port(514));
};
but it does not work. The fist errore is on dnscache(yes);, if i
remove this I get the second on use_time_recvd(true);, remove this one I get
errore on file("/proc/kmsg" log_prefix("kernel: ")); ....
why?
Thanks
Fiorenzi A.
------------------------------------------------------------------------
INFOGROUP S.P.A
http://www.infogroup.it
------------------------------------------------------------------------- DR.
FIORENZI ALESSANDRO
Consulente Tribunale
Firenze - sicurezza informatica - Security Administrator
Socio CLUSIT,
ALSI
Tel : +39.055.43.65.742 CE : +39.335.64.144.77
@Email : a.fiorenzi@infogroup.it PGP Key:
http://www.infogroup.it/ds/fiorenzi.asc-------------------------------------------------------------------------
"Faber est suae quisque fortunae"
-------------------------------------------------------------------------
| |