monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: commandline + http


From: Nick Upson
Subject: Re: commandline + http
Date: Wed, 4 Apr 2007 14:43:31 +0100

I don't understand why this fails but the browser works

address@hidden monit-4.9]# telnet localhost 2812
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
HTTP/1.0 408 Request Timeout
Date: Wed, 04 Apr 2007 13:41:26 GMT
Server: monit 4.9
Content-Type: text/html
Connection: close

<html><head><title>Request Timeout</title></head><body
bgcolor=#FFFFFF><h2>Request Timeout</h2>Time out when handling the
Request<p><hr><a href='http://www.tildeslash.com/monit/'><font
size=-1>monit 4.9</font></a></body></html>
Connection closed by foreign host.

On 04/04/07, Jan-Henrik Haukeland <address@hidden> wrote:
Can you do a "telnet localhost 2812"? (Substitute 2812 with whatever
port number monit is listening on.) And if not, why?


On 4. apr. 2007, at 14.19, Nick Upson wrote:

> also "set daemon  120" is uncommented in the config file
>
> On 04/04/07, Nick Upson <address@hidden> wrote:
>> I have monit 4.9 working fine on fedora 5 via http but when I go to
>> use the command line items such as "monit stop all" I get "monit:
>> Cannot connect to the monit daemon. Did you start it with http
>> support?". I must have http support as the webpage works fine.
>>
>> I'm currently starting monit from the commandline as "monit -c
>> monit.cfg"



--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general





reply via email to

[Prev in Thread] Current Thread [Next in Thread]