Mailinglist Archive: opensuse (924 mails)

< Previous Next >
Re: [opensuse] Intrusive wall from rsyslog
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Wed, 10 Oct 2012 09:17:43 +0200
  • Message-id: <k537en$mk5$1@saturn.local.net>
Carlos E. R. wrote:

I have seen this rule in the wiki indicated above:

# Everybody gets emergency messages
#*.emerg *
if \
$source == 'localhost' \
and \
$syslogseverity-text == 'emerg' \
then *


which looks interesting. I wonder how to integrate both. Perhaps this:

if ($source == 'localhost') and ($syslogseverity <= 0 /* emergency */)
then :omusrmsg:*

would that be correct?

It looks good, try it.



--
Per Jessen, Zürich (13.4°C)

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References