RedHat EX200 Exam - Topic 1 Question 31 Discussion
You are a System administrator. Using Log files very easy to monitor the system. Now there are 50 servers running as Mail, Web, Proxy, DNS services etc. You want to centralize the logs from all servers into on LOG Server. How will you configure the LOG Server to accept logs from remote host?
A) By default, system accept the logs only generated from local host. To accept the Log from other host configure:
vi /etc/sysconfig/syslog SYSLOGD_OPTIONS='-m 0 -r'
Where
-m 0 disables 'MARK' messages.
-r enables logging from remote machines
-x disables DNS lookups on messages received with -r
service syslog restart
B) By default, system accept the logs only generated from local host. To accept the Log from other host configure:
vi /etc/sysconfig/syslog SYSLOGD_OPTIONS='-m 2 -r'
Where
-m 8 disables 'MARK' messages.
-r enables logging from remote machines
-x disables DNS lookups on messages received with -r
service syslog restart
Maurine
8 months agoSamira
8 months agoRanee
9 months agoCiara
9 months agoJulio
9 months agoTanesha
9 months agoTelma
9 months agoCristy
9 months agoAn
9 months agoDana
9 months agoYun
9 months ago