From owner-freebsd-net@FreeBSD.ORG Tue Feb 3 08:18:09 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E88F16A4CE for ; Tue, 3 Feb 2004 08:18:09 -0800 (PST) Received: from castlerea.stdlib.net (castlerea.stdlib.net [212.13.199.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97B8843D41 for ; Tue, 3 Feb 2004 08:18:07 -0800 (PST) (envelope-from grimnar+freebsd-net@stdlib.net) Received: from grimnar by castlerea.stdlib.net with local (Exim 4.20) id 1Ao3FU-0003xV-Tw for freebsd-net@freebsd.org; Tue, 03 Feb 2004 16:18:04 +0000 Date: Tue, 3 Feb 2004 16:18:04 +0000 From: Colin Whittaker To: freebsd-net@freebsd.org Message-ID: <20040203161804.GA15150@castlerea.stdlib.net.> Mail-Followup-To: Colin Whittaker , freebsd-net@freebsd.org References: <4A22D4DACF836546ACB71760692F5B4D01044DA6@accenthouseexch1.accenthouse.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A22D4DACF836546ACB71760692F5B4D01044DA6@accenthouseexch1.accenthouse.co.uk> User-Agent: Mutt/1.3.28i Organization: North East Technologies Ltd. X-subliminal-message: Give Colin all your money. Subject: Re: Obtaining Syslog message from a Cisco Router X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 16:18:09 -0000 Edward Butler stated the following on Tue, Feb 03, 2004 at 03:38:19PM -0000 : > I am looking to dump the log files from various Cisco routers on to one > of various FreeBSD boxes we are running ( mainly FreeBSD 4.4 ) once the > logs have been dumped to then rotate these in a similar way that other > system logs files are rotated - dns, www and mail etc... > > My question is - do I need to compile a specific syslog collector or > will syslog on its own be able to handle these messages? Also how can I > reconfigure logrotate to include these log files? I use syslog-ng for this because it has some nice filtering options. One of which is source hostname/ip address. This means each router gets its own logfile along with a messages file for all the routers messages. Most of the engineers in the NOC tend to just leave this being tail'd in a terminal as a handy way on watching for issues. syslog-ng really is the way to go. Colin -- Colin Whittaker +353 (0)86 8211 965 colin@netech.ie