monit-general
[Top][All Lists]
Advanced

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

Re: frustrated monit not executing processes


From: Martin Pala
Subject: Re: frustrated monit not executing processes
Date: Mon, 27 Aug 2007 20:47:21 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070802 Iceape/1.1.4 (Debian-1.1.4-1)



Michael Steinfeld wrote:
On 8/27/07, Jovan Kostovski <address@hidden> wrote:
On 8/27/07, Michael Steinfeld <address@hidden> wrote:
Am I missing something here?

set httpd port 28212 and
    #use address   # only accept connection from localhost
    allow localhost     # allow localhost to connect to the server and
    allow admin:password    # require user 'admin' with password 'monit'
Try:
set httpd port 28212
    allow localhost
    allow admin:password

tried that it didn't help. I have no problem getting access to the web
interface of monit. That's all fine. But when I attempt to stop/start
any of my services *nothing*.


don't add "and" after the port number. If this doesn't work
Check if that port (if it's not a typo, the default port is 2812)
is not used by some other service or it's blocked on firewall.


I have it on that port and it is not blocked for certain.

Any other ideas???? Thanks.


Monit CLI is using the monit http to request the action. Is it using the same monitrc (configuration file) as the monit daemon? You can run both - monit daemon and CLI in verbose monde, using -v option and check output and logs.

You can use sniffer to check the traffic between monit CLI and daemon (tracing localhost:28212 should be sufficient) and check for reset/rejects.

You can also try to connect to localhost:28212 for example using telnet and check if the connection works.

Martin




reply via email to

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