netdump-server is a server that listens on the network for connections
from kernels using the netconsole/netdump module. When such a machine
crashes it contacts the netdump-server on the specified ip/port. The
server then proceeds to log the oops message, and a kernel memory dump
in a directory in /var/spool/crash, and then reboots the machine.

The server is set up by default to listen to port 6688, so you should
load the module on the client machine like this:

 netconsole-server 172.16.45.81

Where the ip is the ip number of the machine running netdump-server.

On the server machine, run the netdump server as root, or any user
with write privileges to /var/spool/crash. It will keep running an writing
in /var/spool/crash. You can trigger custom code by placing scripts called:
netdump-start, netdump-crash and netdump-reboot in /var/spool/crash/scripts.

netdump-start is called whenever a remote machine loads the netdump
module, and is given the ip address of the machine as the argument.

netdump-crash and netdump-reboot is called when machine crashes and
then reboots, and are given the ip of the crashed machine and the
directory where logs and memorydumps are written as arguments.
