1. To Configure Syslogserver
a. vim /etc/sysconfig/syslog
sysLOGD_OPTIONS = "-r"
b. service syslog restart
c. tailf /var/log/message
2. To redirect all clients log message
to file called remote
vim /etc/syslog.conf
*.* /var/log/remote
Clients to redirect there logs to syslogserver(192.168.0.45)
--> vim /etc/syslog.conf
*.* @192.168.0.45
--> service syslog restart
3. /etc/logrotate.conf
. rotate
daily
.
If you found this post useful, I would really love it, if you can Like the Page, or share it with your Facebook/Google+/Twitter Friends... It will keep me motivated. Thank you!
a. vim /etc/sysconfig/syslog
sysLOGD_OPTIONS = "-r"
b. service syslog restart
c. tailf /var/log/message
2. To redirect all clients log message
to file called remote
vim /etc/syslog.conf
*.* /var/log/remote
Clients to redirect there logs to syslogserver(192.168.0.45)
--> vim /etc/syslog.conf
*.* @192.168.0.45
--> service syslog restart
3. /etc/logrotate.conf
. rotate
daily
.
If you found this post useful, I would really love it, if you can Like the Page, or share it with your Facebook/Google+/Twitter Friends... It will keep me motivated. Thank you!
No comments:
Post a Comment