in reply to Re: Web Site Monitoring
in thread Web Site Monitoring

I agree about Netsaint, there is hardly any point in reinventing the wheel if you don't have reasons (such as I want to :) ).

Anyway, if you do decide to roll your own, here are a few pointers you might find useful - been there, done that.

Of course, there are tons, and tons of more things, but these points I could think of right away, and I know several of them would have helped me, had someone told me. :) As you can see, most of the points contradict one or several of the other points. This is intentional - both sides are correct to some extent, and the idea is to find the balance. For instance, a surfing type of script that times out after 10 seconds, reporting that the site is dead, is most likely a very bad idea - but so is a script that takes 10 minutes. Maybe a one minute timeout, with a doublecheck would be appropriate? Only you can answer that.

I hope these ideas gave you some hints on how to go about it. :)

  • Comment on Web Site Monitoring, a few tips you might like.

Replies are listed 'Best First'.
Re: Web Site Monitoring, a few tips you might like.
by rah (Monk) on Feb 16, 2002 at 17:20 UTC
    OK Let's try this again. Thanks to all of you for your replies. Lot's of good pointers and items I had already considered. Since my replies don't seem to be staying with the right subthread, I figured I would write this one.

    • Netsaint sounds good, and may get me up and running quickly
    • I would still like to write something using LWP or HTTP::WebTest
    • I appreciate all of the tips, even the contradictory ones. I recognize that is how the real world works and that your providing these tips is a dangerous thing to do, since you don't know my apps or environment.

    To all who replied, thanks. If I end up building something, I'll post it so you can "rip it to shreds" :> -Rich

      You can combine usage of Netsaint and power of Perl and LWP or HTTP::WebTest. As grep have said you can write Netsaint plugins in Perl.

      It is quite good approach. Netsaint gives you powerful monitoring framework which provides messaging, web interface, ready to use plugins for many services, etc and LWP or <shameless plug>even better HTTP::WebTest</shameless plug> gives you ability to write very complex tests which can cover all functionality of your web applications.

      BTW one user of HTTP::WebTest have sent me a script - plugin for Netsaint which uses HTTP::WebTest to test websites. I don't feel it is generic enough to make it public but if you want I can email you it. Drop me email to ilya@martynov.org if you need it.

      --
      Ilya Martynov (http://martynov.org/)