[syslog-ng]centralized syslog-server.
Jon Hofstad
Jon.Hofstad@ergo.no
Wed, 4 Dec 2002 15:24:36 +0100
Hello.
I`ve set up an syslog-ng server that will receive syslog-messages from
different hosts.
But I have some problems with my configuration.
I was hoping some one could point out what I`m doing wrong..
----------
This is the host`s configuration:
options { sync (0);
time_reopen (10);
log_fifo_size (1000);
long_hostnames (off);
use_dns (yes);
use_fqdn (no);
create_dirs (yes);
keep_hostname (yes);
};
source s_send { udp(); internal(); };
destination d_send { udp("192.168.80.94"); };
filter f_send { level(info); };
log { source(s_send); filter(f_send); destination(d_send); };
---------------------
AND here`s the server-config:
options { sync (0);
time_reopen (10);
log_fifo_size (1000);
long_hostnames (on);
use_dns (yes);
use_fqdn (no);
create_dirs (yes);
keep_hostname (yes);
};
source crusher-1 { udp(); internal(); };
destination d_crusher-1 { file("/var/log/crusher-1"); };
filter f_crusher-1 { host("192.168.80.141"); }
log { source(local); filter(f_filter2); destination(d_mesg); };
-----------
I`ve been snooping my interfaces and the host doesn`t seem to send out any
messages via udp..
Hints are welcomed:)
/Jon Hofstad