Tuesday, January 13, 2009

Re: Configuring Syslog-ng

Great that you have configured the syslog client in the router side.

For syslog-ng server, you need to follow this instruction to get the syslog-ng server ready to receive the logs from the routers/switches.

The configuration file for syslog-ng is /etc/syslog-ng.conf

Uncomment the following line :
source net { udp(); };

Uncomment the following line :
log { source(src); source(net); filter(f_messages); destination(messages); };

To start syslog-ng issue the command /etc/init.d/sysklogd restart :
# /etc/init.d/sysklogd restart

Refer to this URL for the detail.
Simplest way to configure it is here

No comments: