[syslog-ng](no subject)
gino latino
cat_roger22@hotmail.com
Fri, 12 Jul 2002 19:14:48 +0200
HI *,
there was someone who tried syslog-ng 1.4.15 undev FreeBSD 4.6-RELEASE???? I
tried and the result was unsuccesfull.... This is the configuration:
##########################################################################
options {
long_hostnames(off);
keep_hostname(no);
sync(0);
use_dns(no);
log_fifo_size(1000);
gc_idle_threshold(100);
gc_busy_threshold(3000);
};
##########################################################################
source src {
unix-dgram("/var/run/log");
internal();
udp(ip(0.0.0.0) port(514));
};
###########################################################################
###Destination
#Sorting degl'hosts
#
destination hosts {
file("/var/log/hosts/$HOST/$YEAR/$MONTH/$DAY/$FACILITY$YEAR$MONTH$DAY"
owner(root)
group(root)
perm(0600)
dir_perm(0700)
create_dirs(yes));
};
#
destination all {
file("/var/log/all.log"
owner(root)
group(root)
perm(0640));
};
#
destination send_trap_prova {
program("/home/bigjim/send_trap_prova");
};
#
############################################################################
####Filtering
#
filter f_prova {
host ("10.11.5.37") and not match ("message repeated");
};
#
#############################################################################
###Logging
#
log {
source(src);
destination(hosts);
};
#
log {
source(src);
destination(all);
};
#
log {
source(src);
filter(f_prova);
destination(send_trap_prova);
};
#
#############################################################################
The attachment is the core dump file.
Thnz
Cheers
___________________________________
There is no 'patch' for stupidity
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com