You are not logged in.
Pages: 1
I've added the following to syslog-ng.conf
source net { udp(); };
destination remote { file("/var/log/remote/$FULLHOST"); };
log { source(net); destination(remote); };
I''v instructed my router to syslog to the server's IP address.
Yet, nothing is logged. I've read the documentation in Gentoo but it does not state anything else to configure.
What is missing?
archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR
Offline
Quick disclaimer: I know very little about syslog or your particular setup.
Just had a thought though. What if you have some sort of firewall issue? Perhaps your server is set to block that sort of traffic. Maybe you need to edit /etc/hosts.allow or something similar?
Offline
theking2,
I have done this a long time ago, so I don't remember the details, but this is what I have on my syslog.conf:
source s_udp { udp (ip(0.0.0.0) port(514)); };
destination df_udp {
file ("/var/log/$HOST");
};
log {
source(s_udp);
destination (df_udp);
};
On the remote, a NAS, I execute:
syslogd -R 192.168.1.115 -l 5
You do need the "source s_udp { udp (ip(0.0.0.0) port(514)); }"
Mektub
Follow me on twitter: https://twitter.com/johnbina
Offline
Pages: 1