[syslog-ng]Monitoring connection

Balazs Scheidler bazsi@balabit.hu
Tue, 2 Oct 2001 11:50:24 +0200


On Tue, Oct 02, 2001 at 11:14:49AM +0200, Roman Ernst wrote:
> Good morning!
> 
> Have a question regarding syslog-ng TCP/IP connection...
> 
> Is it possible to configure an SYSLOG-COLLECTION-SERVER to give any kind of
> alert whenever the connection between this server and any syslog-client is
> dropped?
> 
> My problem is:   if i plug out the network cable neither the server (AIX)
> nor the client (an AIX too) do recognize this within an acceptable period
> of time...
> 
> Does there exist something like a "SERVER-CLIENT heartbeat" ???
> 
> Or... does anybody have an idea how to solve this problem another way?

syslog-ng reports when the OS signals that the connection is broken. You
could send those messages to a little perl script using the program()
destination and send out alerts of your choice.

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1