[Nagiosplug-devel] check_webapp plugin (very rough)

Voon, Ton Ton.Voon at egg.com
Sun Sep 7 22:58:03 CEST 2003


Barry,

Sorry, I haven't got round to responding. I was also kinda waiting for
direction from Karl ;)

You've highlighted the differences between your plugin and check_http and
there is some good extra functionality. We can certainly add it into the
contrib/ directory, but to move into the main plugin distribution will
probably require some work in the framework as we currently do not have a
utils.py for python scripts.

Can you add the plugin to SF (see the developer's guidelines at
http://nagiosplug.sourceforge.net/developer-guidelines.html) and we'll get
round to including it in the future release.

Ton


> -----Original Message-----
> From: Barry Roberts [mailto:manithree at crosswinds.net] 
> Sent: Friday, September 05, 2003 8:47 PM
> To: nagiosplug-devel at lists.sourceforge.net
> Subject: Re: [Nagiosplug-devel] check_webapp plugin (very rough)
> 
> 
> Hmm.  I sent this Monday, but I don't see it in the archive.  
> Did you get it?
> 
> Date: Mon, 1 Sep 2003 08:01:51 -0600
> From: Barry Roberts <manithree at crosswinds.net>
> To: "Voon, Ton" <Ton.Voon at egg.com>, 
> nagiosplug-devel at lists.sourceforge.net
> Subject: Re: [Nagiosplug-devel] check_webapp plugin (very rough)
> Message-ID: <20030901140151.GA6243 at www.robertsr.us>
> Reply-To: Barry Roberts <manithree at crosswinds.net>
> References: 
> <EE5168F102C06048B1130A070E6B89303C86DA at PNNEMP02.pp.egg.com>
> Mime-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> In-Reply-To: 
> <EE5168F102C06048B1130A070E6B89303C86DA at PNNEMP02.pp.egg.com>
> User-Agent: Mutt/1.5.4i
> Content-Length: 2007
> 
> Maybe I just couldn't figure out check_http, but there are 2 major
> things I couldn't make it do:
> 
> First, I need to load several URL's in sequence in ONE check.  For
> example, I have a test that logs in, loads up some data (through the
> web ui), changes it, does a calculation, then tests the result.  It
> hits 10 urls, most of which have expressions to match in the resulting
> html.
> 
> Second, the session cookie has to be maintained between these 
> url hits.
> 
> There's also another feature that I don't think check_http has that I
> CAN do with mine but haven't yet, and that is a dependent URL.  The
> purpose of that is to load all the images, js, css etc. required for a
> page but including that in the performance info for the "main" url.  I
> don't care how long each image, etc. load, just how long it takes to
> load the whole page.
> 
> One minor thing I just remembered is that check_webapp can have a
> "must match" expression and a "must not match" expression for each
> URL.
> 
> I only took a brief look at the check_http source, but it didn't seem
> to easily do everything I need to replace Sitecope.  But if it will I
> would be happy to use it.
> 
> The final thing I need to implement is another feature that Sitescope
> has.  I have to have the capability to parse enough of the returned
> html to submit a form included in it.  I think I can do that pretty
> easily in python.
> 
> If I've underestimated check_http, I apologize.  My plugin is pretty
> rough, but it was only a couple of hours of python hacking and an hour
> or so of testing.  Would have been quicker if I knew Python already.
> And it is sure nice to be on nagios instead of expensive, flaky
> Sitescope.
> 
> Thanks,
> Barry Roberts
> 
> On Mon, Sep 01, 2003 at 08:55:43AM +0100, Voon, Ton wrote:
> > Barry,
> > 
> > Looks interesting, but what extra functionality does this 
> provide over
> > check_http? We don't really want to introduce a new plugin 
> if the check can
> > be done through an existing plugin (long-term, I think Karl 
> is thinking of
> > changing check_http to use curl).
> > 
> > Ton


This private and confidential e-mail has been sent to you by Egg.
The Egg group of companies includes Egg Banking plc
(registered no. 2999842), Egg Financial Products Ltd (registered
no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
carries out investment business on behalf of Egg and is regulated
by the Financial Services Authority.  
Registered in England and Wales. Registered offices: 1 Waterhouse Square,
138-142 Holborn, London EC1N 2NA.
If you are not the intended recipient of this e-mail and have
received it in error, please notify the sender by replying with
'received in error' as the subject and then delete it from your
mailbox.





More information about the Devel mailing list