nerdexam
Red_Hat

RH202 · Question #9

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 server

By Default system accept the logs only generated from local host. To accept the Log from other host configure: 1. 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 re

Requirements Engineering in the Project Lifecycle

Question

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 ?

Explanation

By Default system accept the logs only generated from local host. To accept the Log from other host configure:

  1. 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 recieved with -r
  2. service syslog restart

Topics

#centralized logging#syslog#remote log collection#Linux services

Community Discussion

No community discussion yet for this question.

Full RH202 Practice