<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>HI,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks for replay Fekete,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I tryied it but no use i still only recive INFO and WARNING messages not able to recive debug and others.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards,</DIV>
<DIV>Add<BR><BR>--- On <B>Thu, 11/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: Thursday, 11 November, 2010, 2:30 PM<BR><BR>
<DIV class=plainMail>Hi,<BR>Try:<BR>source s_remote {<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp(ip(0.0.0.0) port(514));<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; udp(ip(0.0.0.0) port(514));<BR>&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;so_recvbuf(2097152);<BR>&nbsp; &nbsp; &nbsp; };<BR>and see if it improves your situation.<BR><BR>But you should also:<BR>- use tcpdump to verify that the messages actually arrive to your logserver<BR>- probably increase the net.core.rmem_max parameter of your logserver (for <BR>example, to 1024000). See the redhat manuals for details on how to do this on <BR>your platform.<BR><BR>Robert<BR><BR><BR>add gy wrote:<BR><BR>&gt; Hi,<BR>&gt;&nbsp; <BR>&gt; I have also noted that i am only able to recive Info and warnning <BR>&gt; message i want to recive all messages from devices.<BR>&gt;&nbsp; <BR>&gt; Please can any one help , review syslog config file.<BR>&gt;&nbsp; <BR>&gt; Regards,<BR>&gt;
 Add<BR>&gt; <BR>&gt; --- On *Wed, 10/11/10, add gy /&lt;<A href="http://aa.mc453.mail.yahoo.com/mc/compose?to=addyg420@yahoo.com" ymailto="mailto:addyg420@yahoo.com">addyg420@yahoo.com</A>&gt;/* wrote:<BR>&gt; <BR>&gt; <BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;From: add gy &lt;<A href="http://aa.mc453.mail.yahoo.com/mc/compose?to=addyg420@yahoo.com" ymailto="mailto:addyg420@yahoo.com">addyg420@yahoo.com</A>&gt;<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;Subject: [syslog-ng] Not able to recive all syslog messages<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;To: <A href="http://aa.mc453.mail.yahoo.com/mc/compose?to=syslog-ng@lists.balabit.hu" ymailto="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</A><BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;Date: Wednesday, 10 November, 2010, 1:34 PM<BR>&gt; <BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;Hi,<BR>&gt;&nbsp; &nbsp; &nbsp; <BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;I have installed syslog-ng on RHEL server as log host server for 250<BR>&gt;&nbsp;
 &nbsp;&nbsp;&nbsp;router , switches but some time i recive messages some times i dont<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;, when i check it on other syslog server on windows i revice syslog<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;messages with any problem.<BR>&gt;&nbsp; &nbsp; &nbsp; <BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;Request to please review syslog-ng config file and give some suggetion.<BR>&gt;&nbsp; &nbsp; &nbsp; <BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;config file<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;-------------------------------------------------------------------------------------------------------------------------<BR>&gt;&nbsp; &nbsp; &nbsp; <BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;# configuration file for syslog-ng, customized for remote logging<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;source s_internal { internal(); };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;destination d_syslognglog { file("/var/log/syslog-ng.log"); };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;log {
 source(s_internal); destination(d_syslognglog); };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;# Local sources, filters and destinations are commented out<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;# If you want to replace sysklogd simply uncomment the following<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;# parts and disable sysklogd<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;# Local sources<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#source s_local {<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;unix-dgram("/dev/log");<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;file("/proc/kmsg" log_prefix("kernel:"));<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#};<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;# Local filters<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#filter f_messages { level(info..emerg); };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#filter f_secure { facility(authpriv);
 };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#filter f_mail { facility(mail); };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#filter f_cron { facility(cron); };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#filter f_emerg { level(emerg); };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#filter f_spooler { level(crit..emerg) and facility(uucp, news); };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#filter f_local7 { facility(local7); };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;# Local destinations<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#destination d_messages { file("/var/log/messages"); };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#destination d_secure { file("/var/log/secure"); };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#destination d_maillog { file("/var/log/maillog"); };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#destination d_cron { file("/var/log/cron"); };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#destination d_console { usertty("root"); };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#destination
 d_spooler { file("/var/log/spooler"); };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#destination d_bootlog { file("/var/log/boot.log"); };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;# Local logs - order DOES matter !<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#log { source(s_local); filter(f_emerg); destination(d_console); };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#log { source(s_local); filter(f_secure); destination(d_secure);<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;flags(final); };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#log { source(s_local); filter(f_mail); destination(d_maillog);<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;flags(final); };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#log { source(s_local); filter(f_cron); destination(d_cron);<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;flags(final); };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#log { source(s_local); filter(f_spooler); destination(d_spooler); };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#log { source(s_local);
 filter(f_local7); destination(d_bootlog); };<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;#log { source(s_local); filter(f_messages); destination(d_messages); };<BR>&gt; <BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;# Remote logging<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;source s_remote {<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;tcp(ip(0.0.0.0) port(514));<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;udp(ip(0.0.0.0) port(514));<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;};<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;destination d_separatedbyhosts {<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;file("/var/log/syslog-ng/$HOST/messages" owner("root")<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;group("root") perm(0655) dir_perm(0744) create_dirs(yes));<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;};<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;log { source(s_remote); destination(d_separatedbyhosts); };<BR>&gt;&nbsp;
 &nbsp;&nbsp;&nbsp;------------------------------------------------------------------------------------------------------------------------<BR>&gt;&nbsp; &nbsp; &nbsp; <BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;Regards,<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;Add<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;-----Inline Attachment Follows-----<BR>&gt; <BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;______________________________________________________________________________<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;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;&nbsp; &nbsp;&nbsp;&nbsp;Documentation:<BR>&gt;&nbsp; &nbsp;&nbsp;&nbsp;<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;&nbsp; &nbsp;&nbsp;&nbsp;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>&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>