Monit webinterface doesn't work after rebooting the server

Issue #985 resolved
sistemes created an issue


I’m using monit 5.28 on a RedHatLinux 8 system.

After rebooting the server, the monit webinterface service doesn’t work unless restarted.

My monitrc file is like:

set httpd port 2812 and
allow localhost
allow #

The message I get is monit.log after restarting is:

Denied connection from non-authorized client []

If I reload monit, it works flawlessly.

As a solution I just changed the following in monit.service (/usr/lib/systemd/system/monit.service):


More info about Running Services After the Network is up:

Hope that it helps.

I really don’t know where to report this to the redhat distro.


Comments (1)

  1. Log in to comment