ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Eugene Prokopiev <enp@itx.ru>
To: "ALT Linux sysadmins' discussion" <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Syslog via network
Date: Fri, 25 Nov 2011 11:06:11 +0300
Message-ID: <CANM4Ruj74JDXg+MHgUk0JBFW4=UYsbC-vBvj+JOgwwaRh64MKw@mail.gmail.com> (raw)
In-Reply-To: <m38vn5vu2t.fsf@evg.evg-krsk.dyndns.org>

> Для syslog-ng это просто:
...

спасибо, похоже, что подходит

> Для rsyslog вроде тоже (я не пробовал): http://www.rsyslog.com/article60/

почему-то подобные рецепты, в т.ч.

$template DYNmessages,"/var/log/network/%HOSTNAME%"
if $source != 'localhost' then ?DYNmessages

нормально не работают, часть логов с других хостов все равно попадает
в локалхостовый /var/log/messages. Наверное, разобраться можно, но с
syslog-ng как-то проще

-- 
С уважением,
Прокопьев Евгений

      reply	other threads:[~2011-11-25  8:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-24 12:40 Eugene Prokopiev
2011-11-24 12:44 ` Timur Vasyunin
2011-11-24 14:08   ` Alexey Shabalin
2011-11-24 15:03     ` Dubrovskiy Viacheslav
2011-11-24 15:54 ` Michael Shigorin
2011-11-24 17:11   ` Eugene Prokopiev
2011-11-24 20:39     ` Michael Shigorin
2011-11-25  2:01     ` Terechkov Evgenii
2011-11-25  8:06       ` Eugene Prokopiev [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANM4Ruj74JDXg+MHgUk0JBFW4=UYsbC-vBvj+JOgwwaRh64MKw@mail.gmail.com' \
    --to=enp@itx.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git