Running a UDP Remote Console with Linux 2.6
Bruce Perens writes "Many system admins have learned how to use syslog to log events of remote systems. But when the kernel crashes, its final messages never get to syslog. If you don't have a remote console manager, you won't see them, unless you
run netconsole."
did you send them via UDP? perhaps your first attempt hasn't made it yet.
I've got to say, it looks really tempting. Things don't usually go that far south, but when they do, it's definitely an advantage to have every piece of information you can get. Especially the kernel messages. Unfortunately, until the clietn daemon can be fixed to work with the latest version of netconsole, this is pretty much worthless, because I can imagine few people willing to leave netcat running on a production machine 24-7...
A lot of folks here wouldn't get the joke. :-)
Bruce Perens.
Bruce
Bruce Perens.
This only works/is helpful in certain situations:
1. network driver is initialized
2. kernel messages are what you want to capture
3. the kernel doesn't get itself foobarred so badly that it can't send packets
4. interrupts are enabled (right? can't talk to the network card otherwise)
Also, if you change mac addresses or network cards of the first hop between the sender and receiver, this all needs to be reconfigured.
This can certainly be useful, but recognize its limitations.
-molo
Using your sig line to advertise for friends is lame.
While on the topic, though, it would be nice if Linux did something similar to IRIX, where a crash would save the kernel coredump to the swap partition. Yes, I know the Linux Kernel Crash Dump project does this, but they're not exactly stable yet (hell, their website won't even load right now).
Lunix?
:)
You're obviously a BSD astroturfer.
while true ; do echo this is my sig; done
If you use FreeBSD and find this interesting, you should take a look at rwatson's ethercons patches. Basically, it is this but supports bidirectional communication. That means you can run a getty on it and login over ethernet console. Rather slick.
Beware, Nugget is watching... See?
It is in his sig, give me a break.
remote console manager, you won't see them,
My console is a 300 baud teletype you insensitive clod!
Awesome furniture, accessories and cabinetry in Santa Rosa, CA: http://humanity-home.com/
Why not just send an SNMP trap?
Never heard this before, probably never hear it again:
"The system is being slashdotted now, maybe that will help."