Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Feb 2004 15:54:30 +0000
From:      Bruce M Simpson <bms@spc.org>
To:        Edward Butler <Edward.Butler@trinite.co.uk>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Obtaining Syslog message from a Cisco Router
Message-ID:  <20040203155430.GA2447@saboteur.dek.spc.org>
In-Reply-To: <4A22D4DACF836546ACB71760692F5B4D01044DA6@accenthouseexch1.accenthouse.co.uk>
References:  <4A22D4DACF836546ACB71760692F5B4D01044DA6@accenthouseexch1.accenthouse.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 03, 2004 at 03:38:19PM -0000, Edward Butler wrote:
> 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?

1) Tell Cisco routers to use a specific facility/priority for their messages.
2) Tell syslog.conf to place the messages using this facility/priority into
their own log file.
3) Tell newsyslog.conf to rotate these logs according to the desired policy.

No need to install logrotate. newsyslog is the default FreeBSD log file
rotation tool.

BMS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040203155430.GA2447>