<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Configure SLES9 as a central log host in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876574#M45180</link>
    <description>/etc/sysconfig/syslog file  - in many distros &lt;BR /&gt;contains command-line options for syslog daemon&lt;BR /&gt;&lt;BR /&gt;/etc/syslog.conf  - syslogd configuration&lt;BR /&gt;&lt;BR /&gt;I suggest you to read one of articles I sent you.&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;Vitaly</description>
    <pubDate>Thu, 23 Dec 2004 09:16:27 GMT</pubDate>
    <dc:creator>Vitaly Karasik_1</dc:creator>
    <dc:date>2004-12-23T09:16:27Z</dc:date>
    <item>
      <title>Configure SLES9 as a central log host</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876565#M45171</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;My company just bought one hp server installed with SLES 9. My boss ask me to configure this server based on requirement stated below:&lt;BR /&gt;&lt;BR /&gt;1. Configure the syslog daemon to accept messages from other machines.&lt;BR /&gt;2. Configure the syslog daemon to write all messages concerning mail to /var/log/allmail. Mail messages must not be written anywhere else. Disable immediate file syncing after writing messages.&lt;BR /&gt;3. Configure the syslog daemon to write all kernel messages to /var/log/kernel. Kernel messages with priority equal or higher than "warning" have also to be written to console 10.&lt;BR /&gt;4. Configure the syslog daemon to write all  messages other than mail and kernel messages to /var/log/allmessages.&lt;BR /&gt;&lt;BR /&gt;I have difficuty on how to configure syslog.conf based on the requirement stated above, need your expertise to help me on the configuration of syslog.conf.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;Ryan Goh&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Dec 2004 05:04:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876565#M45171</guid>
      <dc:creator>Ryan Goh</dc:creator>
      <dc:date>2004-12-22T05:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Configure SLES9 as a central log host</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876566#M45172</link>
      <description>use -r option for syslogd.&lt;BR /&gt;It will tell your syslogd to get all messege from network. &lt;BR /&gt;Also you need to change syslog.conf on all server that need to send syslog to main server.&lt;BR /&gt;&lt;BR /&gt;by the way :) &lt;BR /&gt;Did you try to read man syslog , syslogd , syslog.conf &lt;BR /&gt;</description>
      <pubDate>Wed, 22 Dec 2004 07:12:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876566#M45172</guid>
      <dc:creator>Ivajlo Yanakiev</dc:creator>
      <dc:date>2004-12-22T07:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Configure SLES9 as a central log host</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876567#M45173</link>
      <description>you can use the following resources for syslog/logrotate:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.linuxjournal.com/article.php?sid=5476" target="_blank"&gt;http://www.linuxjournal.com/article.php?sid=5476&lt;/A&gt;  syslog Configuration&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://www.precision-guesswork.com/sage-guide/syslog-overview.html" target="_blank"&gt;http://www.precision-guesswork.com/sage-guide/syslog-overview.html&lt;/A&gt; syslog Overview&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://www.linux-mag.com/cgi-bin/printer.pl?issue=2000-09&amp;amp;article=guru" target="_blank"&gt;http://www.linux-mag.com/cgi-bin/printer.pl?issue=2000-09&amp;amp;article=guru&lt;/A&gt; Keeping Track of What Goes On&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://www.chinalinuxpub.com/doc/www.siliconvalleyccie.com/linux-hn/logging.htm" target="_blank"&gt;http://www.chinalinuxpub.com/doc/www.siliconvalleyccie.com/linux-hn/logging.htm&lt;/A&gt;  &lt;BR /&gt;Troubleshooting Linux With Syslog [you can read here about logrotate too!]&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Dec 2004 09:57:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876567#M45173</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2004-12-22T09:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Configure SLES9 as a central log host</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876568#M45174</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I try "syslogd -r", get error message "syslogd: Already running". So, I type "/etc/init.d/syslog stop" follow by "syslogd -r". Is it correct.&lt;BR /&gt;&lt;BR /&gt;Do I need to configure syslog.conf on central log host server with the requirement I stated, or only on other servers which send messages to the central log host server.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ryan Goh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Dec 2004 23:59:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876568#M45174</guid>
      <dc:creator>Ryan Goh</dc:creator>
      <dc:date>2004-12-22T23:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Configure SLES9 as a central log host</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876569#M45175</link>
      <description>On the central syslog server add "-r" to SYSLOGD_PARAMS in /etc/sysconfig/syslog and restart syslog service&lt;BR /&gt;&lt;BR /&gt;SYSLOGD_PARAMS="-r"&lt;BR /&gt;&lt;BR /&gt;# /etc/init.d/syslog restart&lt;BR /&gt;&lt;BR /&gt;On other machines add the following line to /etc/syslog.conf and restart syslog service.&lt;BR /&gt;&lt;BR /&gt;*.debug @&lt;CENTRAL_SYSLOG_SERVER_HOST_NAME_OR_IP&gt;&lt;BR /&gt;&lt;BR /&gt;You may want different logging level as *.debug will forward all syslog messages to central syslog server.&lt;/CENTRAL_SYSLOG_SERVER_HOST_NAME_OR_IP&gt;</description>
      <pubDate>Thu, 23 Dec 2004 00:54:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876569#M45175</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2004-12-23T00:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Configure SLES9 as a central log host</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876570#M45176</link>
      <description>my be it better to send *.* that mean &lt;BR /&gt;all msg.all services</description>
      <pubDate>Thu, 23 Dec 2004 03:04:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876570#M45176</guid>
      <dc:creator>Ivajlo Yanakiev</dc:creator>
      <dc:date>2004-12-23T03:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Configure SLES9 as a central log host</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876571#M45177</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;Anyone know how to configure the syslog daemon to write all kernel messages to /var/log/kernel. Kernel messages with priority equal or higher than "warning" have also to be written to console 10, how to write it in syslog.conf. If I want to send it console 10, is it correct wrote it as "/dev/console10 .&lt;BR /&gt;&lt;BR /&gt;What is the diffrent between syslog.conf and syslog file?&lt;BR /&gt;&lt;BR /&gt;Thank for the reply.&lt;BR /&gt;&lt;BR /&gt;Ryan Goh&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Dec 2004 05:43:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876571#M45177</guid>
      <dc:creator>Ryan Goh</dc:creator>
      <dc:date>2004-12-23T05:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Configure SLES9 as a central log host</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876572#M45178</link>
      <description>syslog.conf is config file :) &lt;BR /&gt;You place your option for syslogd daemon&lt;BR /&gt;&lt;BR /&gt;syslog file = /var/log/message this is text file that get all system messeges :)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You realy need some general reading for linux.&lt;BR /&gt;&lt;BR /&gt;You can not use linux wihtout know basic :)&lt;BR /&gt;Sorry man. &lt;BR /&gt;If you want I can invite you to my Linux classes :)</description>
      <pubDate>Thu, 23 Dec 2004 07:20:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876572#M45178</guid>
      <dc:creator>Ivajlo Yanakiev</dc:creator>
      <dc:date>2004-12-23T07:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Configure SLES9 as a central log host</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876573#M45179</link>
      <description>Thank very much for the help. I know I still need a lot of guidance, that why I post it to the forum.&lt;BR /&gt;&lt;BR /&gt;What I mean is /etc/sysconfig/syslog file  and /etc/syslog.conf file. I know  syslog.conf, but not very sure about /etc/sysconfig/syslog file. What is the purpose of /etc/sysconfig/syslog file?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ryan Goh</description>
      <pubDate>Thu, 23 Dec 2004 09:13:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876573#M45179</guid>
      <dc:creator>Ryan Goh</dc:creator>
      <dc:date>2004-12-23T09:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Configure SLES9 as a central log host</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876574#M45180</link>
      <description>/etc/sysconfig/syslog file  - in many distros &lt;BR /&gt;contains command-line options for syslog daemon&lt;BR /&gt;&lt;BR /&gt;/etc/syslog.conf  - syslogd configuration&lt;BR /&gt;&lt;BR /&gt;I suggest you to read one of articles I sent you.&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;Vitaly</description>
      <pubDate>Thu, 23 Dec 2004 09:16:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876574#M45180</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2004-12-23T09:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Configure SLES9 as a central log host</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876575#M45181</link>
      <description>You ask for decision ! &lt;BR /&gt;&lt;BR /&gt;Did you read man page ?&lt;BR /&gt;Did you read some book or google about that.&lt;BR /&gt;Did you try to done this by your self ?&lt;BR /&gt;Did you ask frineds or support to help you ?&lt;BR /&gt;&lt;BR /&gt;No :0 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                Take care &lt;BR /&gt;                   and&lt;BR /&gt;             Merry Christmas &lt;BR /&gt;</description>
      <pubDate>Thu, 23 Dec 2004 09:37:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876575#M45181</guid>
      <dc:creator>Ivajlo Yanakiev</dc:creator>
      <dc:date>2004-12-23T09:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Configure SLES9 as a central log host</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876576#M45182</link>
      <description>I have configure my server, it seem work follow requirement. The settings I set as below. Correct me if I done wrongly. &lt;BR /&gt;&lt;BR /&gt;1. Configure the syslog daemon to accept messages from other machines.&lt;BR /&gt;&lt;BR /&gt;- Add -r option to SYSLOGD_PARAMS in syslog file.&lt;BR /&gt;&lt;BR /&gt;2. Configure the syslog daemon to write all messages concerning mail to /var/log/allmail. Mail messages must not be written anywhere else. Disable immediate file syncing after writing messages.&lt;BR /&gt;&lt;BR /&gt;- add "mail.*  -/var/log/allmail" in syslog.conf&lt;BR /&gt;&lt;BR /&gt;3. Configure the syslog daemon to write all kernel messages to /var/log/kernel. Kernel messages with priority equal or higher than "warning" have also to be written to console 10.&lt;BR /&gt;&lt;BR /&gt;- add "kern.*   /var/log/kernel" and "kern.warning  /dev/tty10" in syslog.conf&lt;BR /&gt;&lt;BR /&gt;4. Configure the syslog daemon to write all messages other than mail and kernel messages to /var/log/allmessages.&lt;BR /&gt;&lt;BR /&gt;- add "*.*;mail.none;kern.none /var/log/allmessages" in syslog.conf&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Full content of these two files.&lt;BR /&gt;&lt;BR /&gt;syslog file content : &lt;BR /&gt;&lt;BR /&gt;## Path:  System/Logging&lt;BR /&gt;## Description:  System logging&lt;BR /&gt;## Type:  list(0,1,2,3,4,5,6,7)&lt;BR /&gt;## Default:  1&lt;BR /&gt;## Config:  ""&lt;BR /&gt;## ServiceRestart: syslog&lt;BR /&gt;#&lt;BR /&gt;# Default loglevel for klogd&lt;BR /&gt;#&lt;BR /&gt;KERNEL_LOGLEVEL=1&lt;BR /&gt;&lt;BR /&gt;## Type:  string&lt;BR /&gt;## Default:  ""&lt;BR /&gt;## Config:  ""&lt;BR /&gt;## ServiceRestart: syslog&lt;BR /&gt;#&lt;BR /&gt;# if not empty: parameters for syslogd&lt;BR /&gt;# for example SYSLOGD_PARAMS="-r -s my.dom.ain"&lt;BR /&gt;#&lt;BR /&gt;SYSLOGD_PARAMS="-r"&lt;BR /&gt;&lt;BR /&gt;## Type:  string&lt;BR /&gt;## Default:  -2&lt;BR /&gt;## Config:  ""&lt;BR /&gt;## ServiceRestart: syslog&lt;BR /&gt;#&lt;BR /&gt;# if not empty: parameters for klogd&lt;BR /&gt;# for example KLOGD_PARAMS="-2" for clean oops lines&lt;BR /&gt;#&lt;BR /&gt;KLOGD_PARAMS="-2"&lt;BR /&gt;&lt;BR /&gt;## Type:  list(syslogd,syslog-ng)&lt;BR /&gt;## Default:  syslogd&lt;BR /&gt;## Config:  syslog-ng&lt;BR /&gt;## Command:  /sbin/rcsyslog restart&lt;BR /&gt;## PreSaveCommand: /sbin/rcsyslog status &amp;amp;&amp;amp; /sbin/rcsyslog stop&lt;BR /&gt;#&lt;BR /&gt;# The name of the syslog daemon used as&lt;BR /&gt;# syslog service: "syslogd", "syslog-ng"&lt;BR /&gt;#&lt;BR /&gt;SYSLOG_DAEMON="syslogd"&lt;BR /&gt;&lt;BR /&gt;## Type: string&lt;BR /&gt;## Default: "/var/lib/ntp/dev/log"&lt;BR /&gt;## ServiceRestart: syslog&lt;BR /&gt;## Config: syslog-ng&lt;BR /&gt;#&lt;BR /&gt;# The filename mentioned here will be added with the "-a ..." option as&lt;BR /&gt;# additional socket via SYSLOGD_PARAMS when syslogd is started.&lt;BR /&gt;#&lt;BR /&gt;# This additional socket is needed in case that syslogd is restarted. Otherwise&lt;BR /&gt;# a chrooted 'ntpd' won't be able to continue logging.&lt;BR /&gt;#&lt;BR /&gt;SYSLOGD_ADDITIONAL_SOCKET_NTP="/var/lib/ntp/dev/log"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;syslog.conf file content :&lt;BR /&gt;&lt;BR /&gt;# /etc/syslog.conf - Configuration file for syslogd(8)&lt;BR /&gt;#&lt;BR /&gt;# For info about the format of this file, see "man syslog.conf".&lt;BR /&gt;#&lt;BR /&gt;mail.*  -/var/log/allmail&lt;BR /&gt;&lt;BR /&gt;kern.*  /var/log/kernel&lt;BR /&gt;kern.warning  /dev/tty10&lt;BR /&gt;&lt;BR /&gt;*.*;mail.none;kern.none /var/log/allmessages&lt;BR /&gt;&lt;BR /&gt;Thank again for the web links and solution you reply. It help a lot.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ryan Goh&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Dec 2004 02:39:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876576#M45182</guid>
      <dc:creator>Ryan Goh</dc:creator>
      <dc:date>2004-12-29T02:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Configure SLES9 as a central log host</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876577#M45183</link>
      <description>Thank all.</description>
      <pubDate>Fri, 31 Dec 2004 06:49:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876577#M45183</guid>
      <dc:creator>Ryan Goh</dc:creator>
      <dc:date>2004-12-31T06:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Configure SLES9 as a central log host</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876578#M45184</link>
      <description>tahnks</description>
      <pubDate>Sat, 05 Aug 2006 01:34:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configure-sles9-as-a-central-log-host/m-p/4876578#M45184</guid>
      <dc:creator>Ryan Goh</dc:creator>
      <dc:date>2006-08-05T01:34:49Z</dc:date>
    </item>
  </channel>
</rss>

