[syslog-ng] syslog-ng- filter() problem
Jens Grigel
jens.grigel at sskm.de
Fri Jul 29 13:09:44 CEST 2005
On Thu, 2005-07-28 at 23:54, Kelly Pow wrote:
> Hi,
>
> I am trying to collect traps from these two networks.
> 66.163.79.0/255.255.255.128 and 64.251.65.224/255.255.255.240
>
> I don’t understand why when I do this it doesn’t collect anything
>
> Any ideas/.??
> source src{unix-stream("/dev/log"); internal(); pipe("/proc/kmsg"); };
>
Hi,
seems that you are missing the udp() source statement. Make it:
source src { unix-stream("/dev/log");
internal();
pipe("/proc/kmsg");
udp();
};
This will make syslog-ng receive remote messages. Don't forget to open a
possible firewall for UDP Port 514.
HTH,
Jens
>
> ______________________________________________________________________
> _______________________________________________
> syslog-ng maillist - syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
More information about the syslog-ng
mailing list