Which of the following must be included in the syslogd configuration file, so that ONLY kernel related messages with the priority crit are reported?

Which of the following must be included in the syslogd configuration file, so that ONLY kernel related messages with the priority crit are reported?

Which of the following must be included in the syslogd configuration file, so that ONLY kernel related messages with the priority crit are reported?

A.
kern.crit

B.
kern.!crit

C.
kern.=crit

D.
kern.*=crit

E.
kern.-crit



Leave a Reply 3

Your email address will not be published. Required fields are marked *


Munzir Taha

Munzir Taha

The correct answer should be C. kern.=crit because the = specify crit priority ONLY and nothing above but kern.crit specify crit and above like alert and emerg

Marcus

Marcus

I think “A” is ok, cause man-page say:

kern.crit @finlandia
kern.crit /dev/console

The statement directs all kernel messages of the priority crit and higher to the remote host finlandia. This is useful, because if the host crashes and the disks get irreparable errors you might not be able to read the stored messages. If they’re on a remote host, too, you still can try to find out the reason for the crash.

The rule directs these messages to the actual console, so the person who works on the machine will get them, too.

Sergiu

Sergiu

question states that: “ONLY kernel related messages with the priority crit are reported?”

the answer should be C.