[syslog-ng] syslog-ng- filter() problem
Kelly Pow
kelly.pow at sjrb.ca
Thu Jul 28 23:54:40 CEST 2005
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"); };
destination messages { file("/var/log/messages"); };
filter f_messages { not level(warn); };
log { source(src); filter(f_messages); destination(messages); };
#filter snmptrap
filter f_snmptrap { level(warn); };
#testing filters for the different networks
filter f_ipbb1 {netmask("66.163.79.0/255.255.255.128"); };
filter f_ipbb2 {netmask("64.251.65.224/255.255.255.240"); };
destination ipbb_traps { file("/store/ipbb/traps/$YEAR-$MONTH-$DAY"); };
log { source(src); filter(f_snmptrap); filter(f_ipbb1); filter (f_ipbb2);
destination(ipbb_traps); };
----------------------------------------------------------------------------
-------------------------------
Kelly Pow
IP Backbone Networks Intern
Shaw CableSystems G.P
Tel: 1.403.303.6387
kelly.pow at sjrb.ca <mailto:kelly.pow at sjrb.ca>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20050728/1d731c26/attachment.htm
More information about the syslog-ng
mailing list