RE: [syslog-ng]syslog-ng do not work....
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 -----Original Message----- From: Alessandro Fiorenzi [mailto:a.fiorenzi@infogroup.it] Sent: Tuesday, January 27, 2004 10:53 AM To: Syslog-ng Subject: [syslog-ng]syslog-ng do not work.... 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 <file:///home/fiore/signature/www.clusit.it> CLUSIT, <file:///home/fiore/signature/www.alsi.it> 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" -------------------------------------------------------------------------
Well I have syslog-ng version 1.4.17, perhaps could be that, infact dns_cache(yes) use_time_recvd(yes) does not go . Alessandro On Tue, 2004-01-27 at 17:01, Hamilton Andrew wrote:
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
-----Original Message----- From: Alessandro Fiorenzi [mailto:a.fiorenzi@infogroup.it] Sent: Tuesday, January 27, 2004 10:53 AM To: Syslog-ng Subject: [syslog-ng]syslog-ng do not work....
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" -------------------------------------------------------------------------
------------------------------------------------------------------------ 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" -------------------------------------------------------------------------
participants (2)
-
Alessandro Fiorenzi
-
Hamilton Andrew