[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
https/http response tools
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: https/http response tools
- From: Matt Van Mater <matt_(_dot_)_vanmater_(_at_)_gmail_(_dot_)_com>
- Date: Tue, 30 Nov 2004 11:33:54 -0500
- Reply-to: Matt Van Mater <matt_(_dot_)_vanmater_(_at_)_gmail_(_dot_)_com>
Check out monit in /usr/ports/sysutils/monit
It is a pretty handy tool for monitoring hosts and services, and you
can customize it to respond in a way you specify if the service is
unavailable (send email, page, sms, run custom program). I think it
should fit your needs nicely and is pretty easy to set up.
For example, it can monitor apache for a particular response and then
restart apache if necessary (which sounds pretty close to what you're
asking for).
hope that helps.
Matt
>I am looking for a tool in C or Perl that makes https/http connections and
>parses the response. Anyone know of such
>a pre-packaged tool or is this a custom thing?
>
>I find many of the monitoring tools are way to involved for a simple purpose.
>I wrote a shell script that
>pings servers, and it works great for the last year or so. I would now like to
>do some application level
>checking based on https/http response codes.
>
>Cheers
>
>Roy Morris
Visit your host, monkey.org