hobbit/bb 403 is green?
Bob Elzer
bob.elzer at gmail.com
Mon Nov 2 19:03:53 MST 2009
Here's an explanation by the author of hobbit...
-------
On Fri, Jun 09, 2006 at 08:25:53AM -0500, Larry Barber wrote:
> Henrik, I currently have an http test that is getting a "403 Forbidden"
> response. Hobbit is not marking this as an error. Would it be possible to
> have Hobbit treat a "Forbidden" response as an error and alert on it?
Since Frederic has already been quoting my source-code, I guess it's
evident that I have been in doubt about this particular error code.
The reason it does not cause a yellow or red status is that "Forbidden"
is a common result when testing websites that require authentication.
Your Hobbit server may not have the required authentication, and in
that case a red status because of a 403 error would be misleading.
One could also argue that if the server is so much alive as to respond
with a "Forbidden" status, then there is a fair chance that it is
actually running OK.
So my suggestion is that if you must have a red status if you get a 403
status back, then implement a content-check and look for something in
the response that must be present.
Regards,
Henrik
-------
-----Original Message-----
From: plug-discuss-bounces at lists.plug.phoenix.az.us
[mailto:plug-discuss-bounces at lists.plug.phoenix.az.us] On Behalf Of der.hans
Sent: Monday, November 02, 2009 9:58 AM
To: quatsch
Subject: hobbit/bb 403 is green?
moin moin,
added monitoring for a borken web server to hobbit last night and a 403
forbidden is giving a green status. Seems foolish that a hard error would be
marked as OK.
How do I get hobbit to correctly mark a 403 as being down?
I don't see anything about this in the bb-hosts man page :(.
ciao,
der.hans
--
# http://www.LuftHans.com/ http://www.ABLEconf.com/
# Director of Engineering, FonWallet Transaction Solutions, Inc.
# Intelligence without compassion is a waste. -- der.hans
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
More information about the PLUG-discuss
mailing list