OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: centralized syslog solutions request
From: richard bragg (richard.braggNTL.COM)
Date: Thu Sep 28 2000 - 05:46:54 CDT


We capture syslogs into a central syslog and this is
then stored, via managment software into a database.

What I have done is write the central syslog out to a
named pipe. An awk script reads from this pipe and
outputs to a second pipe from which the managment
tool reads.

The awk scripts handles the "Last message was
repeated n times" event. It uses an associative array
to store syslog messages for each server captured.
When a Last message repeated arrives it recalls that
last message and sends it n times to the second
pipe, then reads the next message in.

The awk script is contained in a sub shell so if it fails
it will be restarted.

There are probably better means of doing this,
suggestions always welcome but the net result is to
send the alerts to the managment system.