Wednesday, July 20, 2011

Let us configure Linux Client for Syslog

If Configuring Syslog Server on Linux is easy then configuring Linux Client machine for syslog is much easier.

1. Go to /etc/syslog.conf

$# vi syslog.conf

go to the the end of this file..

# INN
#
news.=crit
news.=err
news.notice

#add user here

user.* @[user] note: [user] = Syslog server ip

user.* @199.00.01.98

save the file and come out

2. Restart Syslog
$# service syslog restart

3. Give a reboot to your system..

4. Check /var/log/messages at your syslog server

your syslog server will start reciving alerts from client machine...

Thanks
MOK

No comments:

Post a Comment