monit-general
[Top][All Lists]
Advanced

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

Re: Cannot connect to Monit -- Connection refused


From: Yameen Saiyid
Subject: Re: Cannot connect to Monit -- Connection refused
Date: Thu, 2 May 2013 10:15:02 +0200

Hi

I edited the host configuration of the logserver and firewall in the mmonit web interface

Now I have the following configuration:

Outbound IP-address for Monit: 192.168.1.4 (or the 192.168.1.1 for fw1)
Outbound port: 2812
Monit user name: admin
Monit password: swordfish

But test connection to Monit still shows a Cannot establish connection to 192.168.1.4:2812 -- Connection refused 

My firewall is configured to accept & establish all, anywhere (so this should not be an issue)

Kind regards
Yameen


2013/4/30 Martin Pala <address@hidden>
Hello,

it seems that the host settings in M/Monit doesn't match the Monit address ... you can fix the settings in host admin: edit the host and set IP-address to 192.168.1.1.

Regards,
Martin


On Apr 30, 2013, at 6:01 PM, Yameen Saiyid <address@hidden> wrote:

Hello

I tried to follow the Mmonit manual to add my logserver and firewall to the Mmonit webserver.

Webserver: 192.168.1.3
Logserver: 192.168.1.4
Fw1: 192.168.1.1

I added the following in the monitrc file:

set eventqueue basedir /var/monit-5.5/ slots 1000
set httpd port 2812 and use address 192.168.1.1
allow localhost
allow 192.168.1.3
allow admin:swordfish

Mmonit shows mmonit stop/start events. But when I click on a agent (logserver.netwerken.local)
I get the error: Cannot connect to Monit -- Connection refused

I clicked on host configuration and set username and pwd to admin - swordfish.
Then I clicked 'Test connection to Monit' and I get: 'Cannot establish connection to localhost:2812 -- Connection refused'

Anyone who has an idea?
Thanks in advance!
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general


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


reply via email to

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