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