So here goes:
one proxmox host - 4 LXC - 1 KVM
I had installed a graylog2 appliance as KVM and the host and the other 4 guests were sending their log files to the KVM on UDP port 514 and all was good until I decided to install graylog2 by hand into a LXC and get rid of the KVM.
Now I would have had to run graylog2 as root to receive on port 514 (below port 1024) I decided to listen on port 5140, added a "0" to all /etc/rsyslog.conf files on the host and guests like this:
And it seemed to work until I realized that one guest was not sending anything. A lot of hours of debugging later I noticed some funny log entries on my host inside /var/log/messages
The from IP being the LXC which does not send its logs.
I have double checked any firewall is off, flushed the firewall on the one host where no logs are transferred, stopped it, nothing :-(
Do you think the martian error messages could be related?
There are more in there from/to other LXCs I only copied the relevant one here.
one proxmox host - 4 LXC - 1 KVM
I had installed a graylog2 appliance as KVM and the host and the other 4 guests were sending their log files to the KVM on UDP port 514 and all was good until I decided to install graylog2 by hand into a LXC and get rid of the KVM.
Now I would have had to run graylog2 as root to receive on port 514 (below port 1024) I decided to listen on port 5140, added a "0" to all /etc/rsyslog.conf files on the host and guests like this:
Code:
#sending to graylog appliance
*.* @mygraylogserver:5140;RSYSLOG_SyslogProtocol23Format
And it seemed to work until I realized that one guest was not sending anything. A lot of hours of debugging later I noticed some funny log entries on my host inside /var/log/messages
Code:
Apr 01 22:35:00 alfred kernel: [90279.439479] IPv4: martian source 51.xxx.xxx.85 from 51.xxx.xxx.80, on dev eth0
I have double checked any firewall is off, flushed the firewall on the one host where no logs are transferred, stopped it, nothing :-(
Do you think the martian error messages could be related?
There are more in there from/to other LXCs I only copied the relevant one here.