Robert,

Fantastic - exactly what I was looking for!

I've just downloaded an HTTP monitoring tool called "PagePoke" (perl) from
Freshmeat, will see how it goes. It's GPL so you could easily change to an
XML file format if wnated. Alternatively if you feel like hacking a little,
you could grab JMeter from java.apache.org and wrap a daemon around that?
(It's a very good multithreaded load tester)

Thanks,
Mike

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Krueger
> Sent: Sunday, October 15, 2000 8:43 PM
> To: Orion-Interest
> Subject: Re: startup / monitor script?
>
>
> At 20:22 15.10.00 , you wrote:
> >Klaus - thanks I'll try that.
> >
> >On my other point, has anyone written a shell or perl script to do the
> >following on Linux/Unix:
> >
> >1) Start Orion
> >2) Monitor that the Java process Orion is running in is running
> >3) If Orion stops (ie JVM crashes) - restart Orion
> >4) Log the starts / stops?
> >
> >I'm not a scripting guru at all, but if noone has one I'll start
> trying to
> >hack one together. Always easier to start from something working though -
> >has anyone seen something like this elsewhere I could look at?
> >
> >Mike
>
>
> this is exactly what supervise (comes with daemontools by the auther of
> qmail, d.j. bernstein) does. we've used it in production systems for the
> exact same task you're describing and are very satisfied with it.
> the only
> problem it doesn't deal with is when the entire application
> hangs. however,
> we haven't had this kind of problem in a long time. at the moment we use
> jdk1.3 by sun, which crashes occasionally and is restarted by supervise.
>
> try that, it's a good robust tool (like everything by that
> pedantic maniac
> bernstein ;-).
>
> btw does anyone know a working http monitoring tool preferably java based
> with an xml based config syntax? we use netsaint and the config
> syntax is a
> pain. we need something very simple and if we don't find anything we'll
> probably hack something ourselves.
>
> robert
>
>
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of Klaus Thiele
> > > Sent: Saturday, October 14, 2000 5:17 PM
> > > To: Orion-Interest
> > > Subject: Re: Deployment platforms
> > >
> > >
> > > Mike Cannon-Brookes wrote:
> > > >
> > > [...]
> > > > > > 6. What has been your experience (stability, performance,
> > > managability,
> > > > > > etc) - mainly of the underlying platform, not orion.
> > > > Perfect, we've never had any problems with the OS or the DB (Sybase
> > > > 11.0.3.3). Our only problem now is twofold:
> > > > 1) Finding a way for Orion effectively to run as something
> > > other than root.
> > >
> > > some time ago there was a nice tip from a guy on this list:
> > >
> > > Linux kernel configuration:
> > >   Networking options  --->
> > >     [*] IP: firewalling
> > >     [*] IP: transparent proxy support
> > >
> > > and then a small startup-script:
> > >    [...]
> > >    start)
> > >        echo -n "Redirect port 80"
> > >        /sbin/ipchains -A input -p tcp -s 0/0 -d 0/0 80 -j
> REDIRECT 8000
> > >     this should also work (https):
> > >        /sbin/ipchains -A input -p tcp -s 0/0 -d 0/0 443 -j
> REDIRECT 8443
> > >    [...]
> > >
> > > then you can run orion as any user you want.
> > >
> > > hope that helps
> > >   klaus
> > >
> > > --
> > > Klaus Thiele - Personal & Informatik AG
> > > mailto:[EMAIL PROTECTED]
> > >
> > >  "There's got to be more to life than compile-and-go."
> > >
> > >
> >
>
> (-) Robert Kr�ger
> (-) SIGNAL 7 Gesellschaft f�r Informationstechnologie mbH
> (-) Br�der-Knau�-Str. 79 - 64285 Darmstadt,
> (-) Tel: 06151 665401, Fax: 06151 665373
> (-) [EMAIL PROTECTED], www.signal7.de
>
>


Reply via email to