Makes sense.
Is there any way (besides a custom script) to check content of a web page? http://www.mywebpage.com/users/special.html must contain the string "XXXXX" or must return output matching file /dir/samples/sample_match.
In the particular case below, although the web server was up, the web application was classified as down. (An error caused it to prompt for username and password)
Cheers Vernon
P.S. The offer of those cold ones still stands. :-) Hobbit is an amazing tool. You have no idea how much kudos I have received for it. We can predict issues, pre-empt problems, and monitor almost anything automatically. I wonder how I ever managed without it.
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Monday, 9 May 2005 1:40 PM To: hobbit at hswn.dk Subject: Re: [hobbit] http test bug?
On Mon, May 09, 2005 at 11:59:00AM +0800, Vernon Everett wrote:
[http response 401 (Unauthorized) gives a green http status]
This is deliberate. The purpose of the test is to determine if the web server is working, and sending back a 401 status (which in a browser would trigger a pop-up to enter a username+password) is sufficient indication that the server is indeed working.
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
NOTICE: This message and any attachments are confidential and may contain copyright material of Australian Finance Group Limited or a third party. It is intended solely for the purpose of the addressee and any other named recipient. If you are not the intended recipient, any use, distribution, disclosure or copying of this message is strictly prohibited. The confidentiality attached to this message is not waived or lost by reason of the mistaken transmission or delivery to any unintended party. If you have received this message in error, please notify the author immediately or contact Australian Finance Group on +61 8 9420 7888.
On Mon, May 09, 2005 at 02:44:10PM +0800, Vernon Everett wrote:
Is there any way (besides a custom script) to check content of a web page? http://www.mywebpage.com/users/special.html must contain the string "XXXXX"
This is called a "content check". See the bb-hosts man page, but it looks like this:
10.0.0.1 www.foo.com # cont;http://mywebpage.com/users/special.html;XXXXX
P.S. The offer of those cold ones still stands. :-) Hobbit is an amazing tool. You have no idea how much kudos I have received for it. We can predict issues, pre-empt problems, and monitor almost anything automatically. I wonder how I ever managed without it.
I hear that from lots of people, so I guess I must be doing something right!
Regards, Henrik
participants (2)
-
henrik@hswn.dk
-
v.everett@afgonline.com.au