I have a 64bit centos 5.2 system. My router supports sending logs to a syslog server, so I was hoping to send them to my centos box so they are easier to keep an eye on. I've been googling for howto's etc, but I didn't think syslog would be that difficult. Do I need to use syslog-ng or can I use the syslog that's installed with centos 5.2? Any suggestions or guidance? Thanks, James
Syslog (or rsyslog) will do.. Have a look at /etc/sysconfig/(r)syslog Cheers, Bart ----- Original Message ----- From: "James Pifer" <jep at obrien-pifer.com> To: "CentOS" <centos at centos.org> Sent: Tuesday, July 29, 2008 8:32:19 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna Subject: [CentOS] syslog question I have a 64bit centos 5.2 system. My router supports sending logs to a syslog server, so I was hoping to send them to my centos box so they are easier to keep an eye on. I've been googling for howto's etc, but I didn't think syslog would be that difficult. Do I need to use syslog-ng or can I use the syslog that's installed with centos 5.2? Any suggestions or guidance? Thanks, James _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 James Pifer wrote: | I have a 64bit centos 5.2 system. My router supports sending logs to a | syslog server, so I was hoping to send them to my centos box so they are | easier to keep an eye on. | On your CentOS box, edit /etc/sysconfig/syslog. The comments in the file should be sufficient. - -- Milton Calnek BSc, A/Slt(Ret.) milton at calnek.com 306-717-8737 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFIj2MYHgnbf2T2QqMRAqUxAJ4skpas/41mgW+5ajDd9rwOHe7i4gCgnsLe CcBbjWL0kf/j2sfbJdZgFJc=F8fm -----END PGP SIGNATURE----- -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
On Tue, Jul 29, 2008 at 02:32:19PM -0400, James Pifer wrote:> Any suggestions or guidance?By default, your syslog does not accept syslog entries from remote systems. Edit /etc/sysconfig/syslog, and add a '-r' parameter to the SYSLOGD_OPTIONS option, and restart syslog. -- /\oo/\ / /()\ \ David Mackintosh | dave at xdroop.com | http://www.xdroop.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20080729/3d3926e4/attachment-0001.sig>