Operating System - HP-UX
1833268 Members
2568 Online
110051 Solutions
New Discussion

Re: remote syslog configuration

 
Robert C. Tseng
Occasional Contributor

remote syslog configuration

Hi,

I need to configure syslog for remote logging in the following way:

device1 --\ /-- collector1
\ /
+-- relay --+
/ device2 --/ \-- collector2

i.e.: all devices send syslog to relay; relay then send identical copies to both collectors

As this point, there is no problem configuring the flow. However, the problem is in the final form of the messages:

On device1 or device2:
"message"
On relay:
2 REPLIES 2
Sandip Ghosh
Honored Contributor

Re: remote syslog configuration

You can do as follows

Redirect the syslog from device A and Device B to relay. The redirect the Relay syslog to CollectorA and CollectorB.

DeviceA \ /->CollectorA
\ /
/ Relay DeviceB / \->CollectorB


Sandip
Good Luck!!!
Robert C. Tseng
Occasional Contributor

Re: remote syslog configuration

Haven't master the ASCII art :-) Now let me try again, please disregard the dots:

.device1 --\.............. /-- collector1
............\............ /..............
.............+-- relay --+...............
............/.............\..............
.device2 --/...............\-- collector2

Please allow me to emphasize that the problem is not the data flow. The problem is that relay rewrites the part when relaying to collectors. I want to preserve the of the original device.

Thanks.

-Robert