[ARGUS] Running argus under a watchdog

Carter Bullard carter at qosient.com
Sun Apr 18 17:40:30 EDT 2004


Hey Eric,
   So what are you trying to achieve with this ssh stuff?
Seems pretty complicated?

Carter


-----Original Message-----
From: owner-argus-info at lists.andrew.cmu.edu
[mailto:owner-argus-info at lists.andrew.cmu.edu] On Behalf Of eric
Sent: Saturday, April 17, 2004 3:49 AM
To: eric
Cc: argus-info at lists.andrew.cmu.edu
Subject: Re: [ARGUS] Running argus under a watchdog

On Sat, 2004-04-17 at 02:33:25 -0500, eric proclaimed...

> We've been migrating to a collector/log server model, and sometimes
> the collector dies (as per those nasty core dumps I've referenced
> earlier this week). I tried running argus under Dan Bernstein's
> daemontools, but there's some issues of the daemon error'ing out,
> but svscan not realizing there's a program error. In other words,
> the process stays up, so svscan things all is well and does not
> restart the process.

I hate replying to myself, but...

HostA is a collector; HostB is a log host. When HostB connects to
HostA by way of an ssh tunnel to 127.0.0.1:561 on HostA, I notice
that the process times out after various time.

So what we're doing is..

hostB$ ssh -L 10561:127.0.0.1:561 hostA

then..

hostB$ ra -S 127.0.0.1 -P 10561 -w hostA-argus.cap

Just for kicks, I've even tried..

while :; do
 ra -S 127.0.0.1 -P 10561 -w hostA-argus.cap
done

But I never get data written to disk :)

Thanks.

- Eric






More information about the argus mailing list