Chapter 19. Using netconsole to log kernel messages over a network
netconsole kernel module and the same-named service, you can log kernel messages over a network to debug the kernel when logging to disk fails or when using a serial console is not possible.
19.1. Configuring the netconsole service to log kernel messages to a remote host
netconsole kernel module, you can log kernel messages to a remote system log service.
A system log service, such as
rsyslogis installed on the remote host.
- The remote system log service is configured to receive incoming log entries from this host.
yum install netconsole-service
/etc/sysconfig/netconsolefile and set the
SYSLOGADDRparameter to the IP address of the remote host:
Enable and start the
systemctl enable --now netconsole
/var/log/messagesfile on the remote system log server.
For details about enabling the remote host to receive the log messages, see the Configuring a remote logging solution section in the
Configuring basic system settingsdocumentation.