well, something doesn't seem right:

-> mongrel_rails_8001' failed protocol test [HTTP] at  
INET[127.0.0.1:8018]
                                                                                
                          ^ 
^^^^^^^^^^^^

127.0.0.1:8018 <- port 8018? or do you want port 8001?

also i leave the host parameter out of the monit config.

   if failed port 8015 protocol http
      with timeout 20 seconds
      then restart


On Mar 26, 2008, at 5:53 PM, Michael Engelhart wrote:

> Does anyone have any tips for checking to see if the mongrel instance
> is responding to HTTP?  I just tried doing this:
>
> if failed host 127.0.0.1 port 8001 protocol http
>    with timeout 10 seconds
>  then restart
>
> but when I have that code in my monit script it gives me this error:
> mongrel_rails_8001' failed protocol test [HTTP] at  
> INET[127.0.0.1:8018] via TCP
>
>
> Thanks for any tips.
>
> Mike
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to