From owner-freebsd-questions Sun Mar 2 12:25: 2 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FAA237B401 for ; Sun, 2 Mar 2003 12:25:01 -0800 (PST) Received: from sleet.ispgateway.de (sleet.ispgateway.de [62.67.200.125]) by mx1.FreeBSD.org (Postfix) with SMTP id 14D9443F93 for ; Sun, 2 Mar 2003 12:25:00 -0800 (PST) (envelope-from paidhi@mospheira.net) Received: (qmail 26425 invoked from network); 2 Mar 2003 20:24:58 -0000 Received: from unknown (HELO mb1.telekabel.at) (152983@[80.110.82.196]) (envelope-sender ) by sleet.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 2 Mar 2003 20:24:58 -0000 From: Paidhi Reply-To: paidhi@mospheira.net To: questions@freebsd.org Subject: Re: Best way to log from several servers Date: Sun, 2 Mar 2003 21:24:23 +0100 User-Agent: KMail/1.5 References: <2B3CC68F-4B18-11D7-9EAA-003065B0995C@garbage.dk> In-Reply-To: <2B3CC68F-4B18-11D7-9EAA-003065B0995C@garbage.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303022124.23220.paidhi@mospheira.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, > We have a few servers and we are getting tired of having to log into > each of them to check the logfile. (like tail -f /var/somelog) > > Is there a way to log things like /var/log/messages and > /var/log/maillog to one central logging server ? > > /thomas I use syslog-ng to do this for some Linux machines. Pretty powerful and not very hard to configure. It's available as Port (http://www.freebsd.org/cgi/url.cgi?ports/sysutils/syslog-ng/pkg-descr). The following places might help if someone wants to learn about how to do central syslog and maybe monitoring your syslogs: "Centralized Syslog Loghost Project" http://www.campin.net/newlogcheck.html "Syslog-ng FAQ" http://www.campin.net/syslog-ng/faq.html The online sample chapter from the O'Reilly book "Building Secure Servers with Linux". It covers "System Log Management and Monitoring": http://www.oreilly.com/catalog/bssrvrlnx/chapter/index.html http://www.oreilly.com/catalog/bssrvrlnx/chapter/ch10.pdf Regards, Markus -- Unix _IS_ userfriendly. It's just selective about who it's friends are. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message