<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Dear All,</DIV>
<DIV>&nbsp;</DIV>
<DIV>i am still suffring form the issue in syslog-ng can anyone please review my config file.</DIV>
<DIV>&nbsp;</DIV>
<DIV>And tell me where excatly i need to make changes.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards,</DIV>
<DIV>Add&nbsp;<BR><BR>--- On <B>Wed, 10/11/10, Fekete Robert <I>&lt;frobert@balabit.hu&gt;</I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>From: Fekete Robert &lt;frobert@balabit.hu&gt;<BR>Subject: Re: [syslog-ng] Not able to recive all syslog messages<BR>To: "Syslog-ng users' and developers' mailing list" &lt;syslog-ng@lists.balabit.hu&gt;<BR>Date: Wednesday, 10 November, 2010, 2:52 PM<BR><BR>
<DIV class=plainMail>Hi, you might have to increase your UDP receive buffer (so_recvbuf() option in <BR>syslog-ng) and the net.core.rmem_max option on your host, see<BR><BR><A href="http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-v3.2-guide-admin-en.html/reference_source_tcpudp.html" target=_blank>http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-v3.2-guide-admin-en.html/reference_source_tcpudp.html</A><BR><BR>Others have reported similar problems recently with the default UDP settings of <BR>RHEL, you might have run into the same issue.<BR><BR>Regards,<BR>Robert<BR><BR><BR><BR>add gy wrote:<BR><BR>&gt; Hi,<BR>&gt;&nbsp; <BR>&gt; I have installed syslog-ng on RHEL server as log host server for 250 <BR>&gt; router , switches but some time i recive messages some times i dont , <BR>&gt; when i check it on other syslog server on windows i revice syslog <BR>&gt; messages with any problem.<BR>&gt;&nbsp; <BR>&gt; Request to
 please review syslog-ng config file and give some suggetion.<BR>&gt;&nbsp; <BR>&gt; config file<BR>&gt; -------------------------------------------------------------------------------------------------------------------------<BR>&gt;&nbsp; <BR>&gt; # configuration file for syslog-ng, customized for remote logging<BR>&gt; #<BR>&gt; source s_internal { internal(); };<BR>&gt; destination d_syslognglog { file("/var/log/syslog-ng.log"); };<BR>&gt; log { source(s_internal); destination(d_syslognglog); };<BR>&gt; # Local sources, filters and destinations are commented out<BR>&gt; # If you want to replace sysklogd simply uncomment the following<BR>&gt; # parts and disable sysklogd<BR>&gt; #<BR>&gt; # Local sources<BR>&gt; #<BR>&gt; #source s_local {<BR>&gt; #&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;unix-dgram("/dev/log");<BR>&gt; #&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;file("/proc/kmsg" log_prefix("kernel:"));<BR>&gt; #};<BR>&gt; #<BR>&gt; # Local filters<BR>&gt; #<BR>&gt;
 #filter f_messages { level(info..emerg); };<BR>&gt; #filter f_secure { facility(authpriv); };<BR>&gt; #filter f_mail { facility(mail); };<BR>&gt; #filter f_cron { facility(cron); };<BR>&gt; #filter f_emerg { level(emerg); };<BR>&gt; #filter f_spooler { level(crit..emerg) and facility(uucp, news); };<BR>&gt; #filter f_local7 { facility(local7); };<BR>&gt; #<BR>&gt; # Local destinations<BR>&gt; #<BR>&gt; #destination d_messages { file("/var/log/messages"); };<BR>&gt; #destination d_secure { file("/var/log/secure"); };<BR>&gt; #destination d_maillog { file("/var/log/maillog"); };<BR>&gt; #destination d_cron { file("/var/log/cron"); };<BR>&gt; #destination d_console { usertty("root"); };<BR>&gt; #destination d_spooler { file("/var/log/spooler"); };<BR>&gt; #destination d_bootlog { file("/var/log/boot.log"); };<BR>&gt; #<BR>&gt; # Local logs - order DOES matter !<BR>&gt; #<BR>&gt; #log { source(s_local); filter(f_emerg); destination(d_console); };<BR>&gt;
 #log { source(s_local); filter(f_secure); destination(d_secure); <BR>&gt; flags(final); };<BR>&gt; #log { source(s_local); filter(f_mail); destination(d_maillog); <BR>&gt; flags(final); };<BR>&gt; #log { source(s_local); filter(f_cron); destination(d_cron); <BR>&gt; flags(final); };<BR>&gt; #log { source(s_local); filter(f_spooler); destination(d_spooler); };<BR>&gt; #log { source(s_local); filter(f_local7); destination(d_bootlog); };<BR>&gt; #log { source(s_local); filter(f_messages); destination(d_messages); };<BR>&gt; <BR>&gt; # Remote logging<BR>&gt; source s_remote {<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;tcp(ip(0.0.0.0) port(514));<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;udp(ip(0.0.0.0) port(514));<BR>&gt; };<BR>&gt; destination d_separatedbyhosts {<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;file("/var/log/syslog-ng/$HOST/messages" owner("root") <BR>&gt; group("root") perm(0655) dir_perm(0744) create_dirs(yes));<BR>&gt; };<BR>&gt;
 log { source(s_remote); destination(d_separatedbyhosts); };<BR>&gt; ------------------------------------------------------------------------------------------------------------------------<BR>&gt;&nbsp; <BR>&gt; Regards,<BR>&gt; Add<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; ------------------------------------------------------------------------<BR>&gt; <BR>&gt; ______________________________________________________________________________<BR>&gt; Member info: <A href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target=_blank>https://lists.balabit.hu/mailman/listinfo/syslog-ng</A><BR>&gt; Documentation: <A href="http://www.balabit.com/support/documentation/?product=syslog-ng" target=_blank>http://www.balabit.com/support/documentation/?product=syslog-ng</A><BR>&gt; FAQ: <A href="http://www.campin.net/syslog-ng/faq.html" target=_blank>http://www.campin.net/syslog-ng/faq.html</A><BR>&gt;
 <BR><BR>______________________________________________________________________________<BR>Member info: <A href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target=_blank>https://lists.balabit.hu/mailman/listinfo/syslog-ng</A><BR>Documentation: <A href="http://www.balabit.com/support/documentation/?product=syslog-ng" target=_blank>http://www.balabit.com/support/documentation/?product=syslog-ng</A><BR>FAQ: <A href="http://www.campin.net/syslog-ng/faq.html" target=_blank>http://www.campin.net/syslog-ng/faq.html</A><BR><BR></DIV></BLOCKQUOTE></td></tr></table><br>