monit-general
[Top][All Lists]
Advanced

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

Re: commandline + http


From: Jan-Henrik Haukeland
Subject: Re: commandline + http
Date: Wed, 04 Apr 2007 23:39:36 +0200

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

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

This is okay, monit's http server just timed out since you did not send a HTTP request. So this obviously works. Hmm, that means that "monit stop all" and stuff like that should work. Hopefully there should be some errors in the log file, can you see anything? (To turn on logging, paste for instance this, some place at the top of you .monitrc file "set logfile /tmp/monit.log"). Also add the -v option when you start monit since it logs more info that way. That is, "monit -vc monit.cfg" and "monit -v stop all". (Note, the -v switch is only for testing and should not be used when running monit in production since the log file can be rather large)

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

*




reply via email to

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