login
Header Space

 
 

Re: problems with hoststated and relayd

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Sebastian Reitenbach <sebastia@...>
Cc: <misc@...>
Date: Monday, March 3, 2008 - 1:35 pm

hi!

it tested your config and it works fine without problems, there is no
bug in relayd here...

...you seem to make a common mistake:


you expect that the webservers always return the HTTP error code 200
OK.  this is not how HTTP works.  your webserver may return another
error based on the site, state, or configuration (moved, not allowed,
not found, server error, ...).

please test the following:

$ lynx -head http://10.0.0.121/

and you will see the HTTP header.  for example, the following header
would require you to change your check to 'check http "/" code 302'
(or even 'check http "/oxid/" code 200'):

HTTP/1.1 302 Found
Date: Mon, 03 Mar 2008 17:24:10 GMT
Server: Apache
Location: /oxid/
Connection: close
Content-Type: text/html

i normally use a special monitor script to check the state on the
webservers, for example the Zend platform provides the following
self-test:

        check http '/ZendPlatform/client/getPing.php' code 200

reyk

On Mon, Mar 03, 2008 at 07:45:00AM +0100, Sebastian Reitenbach wrote:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
problems with hoststated and relayd, Sebastian Reitenbach, (Mon Mar 3, 2:45 am)
Re: problems with hoststated and relayd, Reyk Floeter, (Mon Mar 3, 1:35 pm)
Re: problems with hoststated and relayd, John Johansson, (Mon Mar 3, 7:08 am)
Re: problems with hoststated and relayd, Wijnand Wiersma, (Mon Mar 3, 5:29 am)
Re: problems with hoststated and relayd, Reyk Floeter, (Mon Mar 3, 1:20 pm)
Re: problems with hoststated and relayd, Wijnand Wiersma, (Mon Mar 3, 3:00 pm)
speck-geostationary