For Programmers: Free Programming Magazines  


Home > Archive > PERL Miscellaneous > October 2004 > Syslog replay script for centralized syslog host









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 replay script for centralized syslog host
leroy isaac

2004-10-28, 3:59 pm

I have a need to retrieve syslog data from various remote nodes, and
the smallest network link to the remote nodes is 19K. The syslog
traffic for the link
cannot exceed 9K.

I plan to setup a configuration which generates new log files every 10
minutes. These files are then compressed, zipped, and transfered to a
centralized
loghost.

The files are then unzipped, uncompressed, and the data is inserted
into the syslog data stream on a central syslog host.

Is there a perl script or module which will accomplish this task? If
not, then does any one have any suggestions on products which may
accomplish this same
task.

LeRoy Isaac
James Willmore

2004-10-29, 3:57 am

leroy isaac wrote:
> I have a need to retrieve syslog data from various remote nodes, and
> the smallest network link to the remote nodes is 19K. The syslog
> traffic for the link
> cannot exceed 9K.
>
> I plan to setup a configuration which generates new log files every 10
> minutes. These files are then compressed, zipped, and transfered to a
> centralized
> loghost.
>
> The files are then unzipped, uncompressed, and the data is inserted
> into the syslog data stream on a central syslog host.
>
> Is there a perl script or module which will accomplish this task? If
> not, then does any one have any suggestions on products which may
> accomplish this same
> task.
>
> LeRoy Isaac



Unless I'm really off, why not just configure syslogd to do remote
logging? Or are there other considerations (think security, an OS
that doesn't have/use syslogd, they aren't your machines, etc.) that
make this option not an option?

If you need to "roll your own script", visit http://search.cpan.org/
to find the various modules you might want to use to accomplish this
task.

It sounds an awful lot like you haven't done any research on this at
all and want someone to do it for you. Sorry in advance if this
isn't the case.

HTH

Jim
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com