Home » LPI » 117-201 » When setting up a client to log to a central logging server, you should:
When setting up a client to log to a central logging server, you should:
A. Start the syslogd daemon on the server with all of the clients in its hostlist.
B. Add @servername to the appropriate log line in /etc/syslog.conf
C. Use the server as a DHCP server for the client.
D. Share the log file on the server using NFS.
E. None of the above.
Correct Answer: B
Explanation/Reference:
Explanation: The file /etc/syslog.conf contains information used by the system log daemon, syslogd to forward a system message to appropriate log files and/or users. When forwarding messages to a remote logging server, you would specify the name of a remote host, prefixed with an @, as with:
@server, which indicates that messages are to be forwarded to the syslogd on the named host.
Reference: http://www.unidata.ucar.edu/cgi-bin/man-cgi?syslog.conf+4
Incorrect Answers
B:The syslogd daemon on the local machine needs to be configured to send messages to the remote logging server.
C:DHCP is unrelated to logging and is therefore not required.
D:The log file does not need to be shared using NFS.
E:You must edit the syslog.conf file; therefore, this answer is incorrect.
Download Printable PDF. VALID exam to help you PASS.
|
|
In explanation:
B:The syslogd daemon on the local machine needs to be configured to send messages to the remote logging server.
should be
A:The syslogd daemon on the local machine needs to be configured to send messages to the remote logging server.