Hi,

Overall I have monit and /monit working together to monitor my ec2
instances.  m/moint is hosted on a dedicated server.

I am using monit from sudo apt-get install monit on ubuntu 64.   Not
built from source.

In m/monit when I got the the status tab and I click on a host, I get
this error.

Cannot connect to Monit -- 404 Not Found

When I test host configuration and I enter in the monit username and
password I get CONNTECTION OK!

On the top of my monitrc file  have the below where xxx.xxx.xxx.xxx is
the ip address of my dedicated server :

set eventqueue basedir /var/monit/ slots 1000
set mmonit http://monit:[email protected]:8080/collector
set httpd port 2812 and use address ec2-yyy-yyy-yyy-yyy.compute-1.amazonaws.com
    allow localhost
    allow xxx.xxx.xxx.xxx
    allow admin:password

set httpd port 2812 and
    use address localhost # only accept connection from localhost
    allow localhost
    allow xxx.xxx.xxx.xxx
    allow monit_admin:monit_password      # require user 'admin' with
password 'monit'

So..how to I fix given the above config?

Thanks

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

Reply via email to