|
Home > Archive > Unix questions > January 2005 > Syslog forwarding.
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Syslog forwarding.
|
|
|
| Good day, dear colleagues! I need to know something about syslog
forwarding (generally for SCO OpenServer 5.07).
As I know I can configure syslog to forward messages to another Unix
mahcine (another syslog). I need to configure a couple SCO machines to
forward all syslog messages to another "central" SCO machine, and then
"central" SCO machine should forward all received messages including
local messages to another SCO machine.
Is it possible? Could syslog forward messages which has been received
from another mahcines?
Maybe to have some configuration examples, log messages examples,
please share it with me. Thank you very much in advance!
P.S.: Merry xmas in Ukraine!
| |
| Barry Margolin 2005-01-06, 8:48 pm |
| In article <1105005580.718441.164830@f14g2000cwb.googlegroups.com>,
"SnaiL" <VLazarenko@MIRATECH.BIZ> wrote:
> Good day, dear colleagues! I need to know something about syslog
> forwarding (generally for SCO OpenServer 5.07).
> As I know I can configure syslog to forward messages to another Unix
> mahcine (another syslog). I need to configure a couple SCO machines to
> forward all syslog messages to another "central" SCO machine, and then
> "central" SCO machine should forward all received messages including
> local messages to another SCO machine.
>
> Is it possible? Could syslog forward messages which has been received
> from another mahcines?
Yes. Syslog processes messages the same whether they're received from
the net or from a local process.
> Maybe to have some configuration examples, log messages examples,
> please share it with me. Thank you very much in advance!
> P.S.: Merry xmas in Ukraine!
If you want a machine to forward all syslog messages to
central.yourdomain.com, its syslog.conf should contain:
*.debug @central.yourdomain.com
The whitespace must be TAB characters.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
| |
|
| Thank you very much!
As I understand the string "*.debug
@central.yourdomain.com" will force syslog to forward only debug
messages, and if I want to forward ALL messages I need to write "*.*
@central.yourdomain.com". Am I right?
| |
| Barry Margolin 2005-01-07, 5:59 pm |
| In article <1105101192.590454.105180@f14g2000cwb.googlegroups.com>,
"SnaiL" <VLazarenko@MIRATECH.BIZ> wrote:
> Thank you very much!
>
> As I understand the string "*.debug
> @central.yourdomain.com" will force syslog to forward only debug
> messages, and if I want to forward ALL messages I need to write "*.*
> @central.yourdomain.com". Am I right?
No. When you specify a severity level, it means that level and all
higher levels. Since debug is the lowest level, it means all levels.
Some versions of syslogd allow you to use "*" in the severity component
of a syslog.conf entry to mean the same thing, but most don't.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
|
|
|
|
|