Monit seems to be working, but when I go to the web interface at port :2812 I get:
Not Found
There is no service by that name
monit 5.2.5
--
But again, things appear ok on the CLI
-->:/var/log$ sudo monit -t
Control file syntax OK
-->:/var/log$ sudo monit status
The Monit daemon 5.2.5 uptime: 11m
System 'system_mydomain.net'
status running
monitoring status monitored
load average [0.00] [0.01] [0.05]
cpu 0.0%us 0.0%sy 0.0%wa
memory usage 645520 kB [63.4%]
swap usage 213128 kB [10.1%]
data collected Wed Feb 15 06:27:26 2012
Any ideas?
I had this error when I misconfigured my Nginx. After reading the wiki, I resolved monit 404 errors. Here's my /etc/nginx/conf.d/monit.conf:
Here's a sample
/etc/monit.conf
configuration file. Make sure you have something similar to the line beginning with "set httpd port 2812 and..." in your configuration file.I had the same problem, the site is behind NGINX proxy. Solved by this snipped:
Source: https://mmonit.com/wiki/Monit/Nginx