Chapter 27. 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.
27.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.
# dnf 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.