Obtaining Syslog message from a Cisco Router

Colin Whittaker grimnar+freebsd-net at redbrick.dcu.ie
Tue Feb 3 08:18:09 PST 2004


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 at netech.ie


More information about the freebsd-net mailing list