[syslog-ng]Sylog-ng OpenBSD Problems

me syslog-ng@lists.balabit.hu
Wed, 28 Apr 2004 18:54:16 +0200 (MEST)


Hi,

check these options out...
http://www.balabit.com/products/syslog_ng/reference/x601.html:

options { 
	use_fqdn(no); 
	use_dns(no); 
 	dns_cache(no); 
	keep_hostname(yes);
	long_hostnames(off); 
	sync(1); 
};

You have to disable these options as shown above.
Hope this helps...

/me

> Hello,
> 
> I run syslog-ng-1.5.24 on OpenBSD 3.4 sparc64,
> i have some problems, its not working in the way i want it,
> my config looks in this way:
> 
> options { 
> long_hostnames(off);
> chain_hostnames(off);
> use_fqdn (yes);
> sync(0); 
> };
> source s_udp { udp(); }; 
> destination test { file("/var/log/info"); };
> log { source(s_udp); destination(test); };
> 
> no biggie at all
> 
> tail -f /var/log/info shows:
> Apr 28 16:23:18 syslog/syslog 1552866: Apr 28 16:42:18:
> %LINEPROTO-5-UPDOWN: Line protocol on Interface
> Serial1/1:14, changed state to down
> Apr 28 16:23:23 syslog/syslog 1552872: Apr 28 16:42:24:
> %LINK-3-UPDOWN: Interface Serial1/0:2, changed state to
> down
> 
> There is no Router source IP, just syslog/syslog syslog is
> the name of the logging box
> 
> # uname -a
> OpenBSD syslog.srv.test.com 3.4 GENERIC#85 sparc64
> 
> when i run that box with the normal syslogd the source ip,
> gets shown, and even when i erase all options in
> syslog-ng.conf :
> source s_udp { udp(); }; 
> destination test { file("/var/log/info"); };
> log { source(s_udp); destination(test); };
> 
> the source ip never comes in, i just want the sourceip no
> dns name nothing any ideas?
> 
> Greets
> 
> Johannes
> --
> Die e-Mail-Boxes von Brennercom sind Virus-gesichert und Spam-gefiltert.
> Le caselle e-Mail di Brennercom sono protette da sistemi antivirus e
> antispam.
> 
> http://www.brennercom.it
> _______________________________________________
> syslog-ng maillist  -  syslog-ng@lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
> 

-- 
NEU : GMX Internet.FreeDSL
Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/dsl