monit-general
[Top][All Lists]
Advanced

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

Re: monit HTTP server on FreeBSD startup


From: Gee Fitz
Subject: Re: monit HTTP server on FreeBSD startup
Date: Tue, 28 Aug 2018 13:57:23 -0300

Did you try daemon mode? could it be that it's starting before the interfaces are up?

Did you read this
https://www.mmonit.com/monit/documentation/monit.html#INIT-SUPPORT
?

On Sun, Aug 26, 2018 at 9:30 PM David Newman <address@hidden> wrote:
monit-5.25.2
FreeBSD 11.2-RELEASE-p2

After a reboot, the monit process starts but the HTTP interface does
not. The command 'netstat -an -f inet | grep 2812' shows nothing
listening on port 2812.

Manually restarting monit will start the HTTP interface.

Here are the log entries during a reboot:

[PDT Aug 26 17:12:15] info     : 'mail8.networktest.com' Monit 5.25.2
stopped
[PDT Aug 27 00:13:43] info     : Starting Monit 5.25.2 daemon with http
interfac
e at [localhost]:2812
[PDT Aug 27 00:13:43] info     : Monit start delay set to 120s

I think the time delta is because the system converts from UTC time to
the local time zone (PDT/PST) after starting Monit.

Here is the HTTP interface config from monitrc:

set httpd port 2812 and
    use address localhost
    allow localhost
    allow admin:monit

How to get the HTTP interface to launch automatically on startup?

Thanks.

dn



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

reply via email to

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