hi every body My syslog-ng server is on debian eth. I woudl like to know how can I push on my server: - my client /var/log/dkpg.log, /varl/log/samba/ "host".log, /var/log/samba/wtmp and utmp directory ? thanks nr _________________________________________________________________ Appelez vos amis de PC à PC -- C'EST GRATUIT http://get.live.com/messenger/overview
Hi,
My syslog-ng server is on debian eth. I woudl like to know how can I push on my server: - my client /var/log/dkpg.log, /varl/log/samba/ "host".log, /var/log/samba/wtmp and utmp directory ?
Use rsync. syslog isn't a transport. Regards, Sandor -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.
From: Sandor.Geller@morganstanley.com To: syslog-ng@lists.balabit.hu Date: Mon, 6 Oct 2008 16:11:37 +0100 Subject: Re: [syslog-ng] (no subject)
Hi,
My syslog-ng server is on debian eth. I woudl like to know how can I push on my server: - my client /var/log/dkpg.log, /varl/log/samba/ "host".log, /var/log/samba/wtmp and utmp directory ?
Use rsync. syslog isn't a transport.
yes, but how can I log on the server syslog-ng my samba or bind log which are in a directory like /var/log/samba/... or /var/log/named/... on my client _________________________________________________________________ Sur Windows Live Ideas, découvrez en exclusivité de nouveaux services en ligne... si nouveaux qu'ils ne sont pas encore sortis officiellement sur le marché ! http://ideas.live.com
Hi,
My syslog-ng server is on debian eth. I woudl like to know how can I push on my server: - my client /var/log/dkpg.log, /varl/log/samba/ "host".log, /var/log/samba/wtmp and utmp directory ?
Use rsync. syslog isn't a transport.
yes, but how can I log on the server syslog-ng my samba or bind log which are in a directory like /var/log/samba/... or /var/log/named/... on my client
You have a few options: 1. samba could log to syslog as well, see the syslog option. bind could use syslog as well, see its logging statement. 2. you can use the file() source of syslog-ng, however you can't use wildcards in filenames so you have to configure samba to use a single logfile instead of separate files for hosts 3. write your own program which collects the logs and send it to syslog. You could use this program either as a syslog-ng source or your code could use the syslog() libc function, it's up to you. Regards, Sandor -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.
participants (2)
-
Geller, Sandor (IT)
-
n r