netconsole not sending syslog messages to remote machine
Background:
I have installed netconsole on 2 different machines, one on the same network (call it machine A) and one on another (call it machine B). I tested by doing this: Code:
sysctl -w kernel.printk="7 4 1 7" #set console log message level for testing I also manually sent a syslog message using netcat this way: Code:
echo '<13> Can you hear me now?' | nc -w 3 -v -u 10.3.120.38 514 So on machine B (other network) I installed netconsole. I ran the netcat test and that works fine. However whenever I generate messages via modprobe or logging in with ssh NONE of these messages that appear in /var/log/messages on machine B were sent over to the remote server. Here is how I installed netconsole: Code:
modprobe netconsole netconsole="6665@10.30.120.138/eth0,514@10.3.120.38/00:01:02:F5:D1:50" Can anyone offer any ideas as to why the netcat will send messages remotely but the netconsole messages won't go remotely? machine A is CentOS 4.5, Remote Console Logger and machine B are both CentOS 5 Any and all ideas are welcome. thanks Doug |
Sorry, I cannot comment on netconsole (never used it), but you could set-up
syslog-ng, and remote logging is just fine. Cheers, Tink |
All times are GMT -5. The time now is 02:11 AM. |