[Top][All Lists]

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

Re: M/Monit Network Settings

From: Guillaume François
Subject: Re: M/Monit Network Settings
Date: Tue, 4 Jul 2017 12:05:16 +0200

Hello Saagar,

I saw the misunderstanding.

The Monit network setting comes from the configuration of the "remote" Monit agent.

From my understanding, it is use by M/Monit to send "commands" to the remote Monit agent. In the case it cannot successfully connect, commands issued from M/Monit are not executed on the remote Monit agent.
This is only mandatory if you want to perform remote actions from M/Monit console. It doesn't block the collection of data.

If you want to change the connection information, you are able to override it for some data (see screenshot)

Does it answer your need ?

Best Regards.

2017-07-04 11:12 GMT+02:00 Mehul Ved <address@hidden>:
I have the same kind of setup. Here's what I have done:
- Left the connector as it is
-----START server.xml-----
<Connector address="" port="8090" processors="10" secure="false" />
-----END server.xml-----

- In apache.conf I have proxied it as follows
ProxyPass         /mmonit nocanon
ProxyPassReverse  /mmonit
ProxyRequests     Off
AllowEncodedSlashes NoDecode

# Local reverse proxy authorization override
# Most unix distribution deny proxy by default (ie /etc/apache2/mods-enabled/proxy.conf in Ubuntu)
  Order deny,allow
  Allow from all

For nginx, it is even simpler
        location /mmonit/ {

From: monit-general <monit-general-bounces+mehul.ved=address@hidden> on behalf of Saagar Deshpande <address@hidden>
Sent: Tuesday, July 4, 2017 1:56:30 PM
To: address@hidden
Subject: Re: M/Monit Network Settings
Guillaume -

I took a look at the documentation, and if I understand correctly, this is providing instruction on setting up the connector for m/monit itself.
However, my issue is as follows: I would like to configure the Monit Network Settings for a host in m/monit such that the address is something like and the port is left null. Essentially, I would like m/monit to understand that I am using a sub-path without a port so that it can connect to the monit instances (and then be able to run start/stop operations via the m/monit web interface). Whenever I put in a network address such as "", m/monit is unable to resolve this into an address. 

I hope this clarifies what I'm trying to accomplish.

- Saagar

On Tue, Jul 4, 2017 at 1:13 AM, Saagar Deshpande <address@hidden> wrote:
Thanks Guillaume, I'll give that a look! 

On Mon, Jul 3, 2017 at 8:52 AM, Saagar Deshpande <address@hidden> wrote:
Dear monit-general,

I am setting up m/monit and have configured m/monit and monit behind nginx via proxy_pass. nginx is providing SSL to our other applications and also prevents unnecessary exposure to the ports that m/monit and monit are listening on. 

When the proxy_pass is enabled, all traffic to is directed to monit and all traffic to is directed to m/monit . As such, I would like to understand how exactly to configure the network settings for m/monit so that a port is not required. Is this possible? The UI seems to append the port number to the end of the URL in all situations.


Saagar Deshpande
Senior Software Engineer

Saagar Deshpande
Senior Software Engineer

Saagar Deshpande
Senior Software Engineer

To unsubscribe:

Version: 3.1
GCS/IT d(+) s++:- a C++$ ULC(+)>+++$ !P--- L+>$ !E---? W+++$ !N* !o-- K--? w(+) !O---? !M- !V--? PS+? !PE Y+ PGP++>+++ !t-- !5 !X- R(+)>++* tv-? b(-) DI !D- G(+)>+ e+++ h--() r->$ y?*

reply via email to

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