Closed. This question is off-topic。它当前不接受答案。
                            
                        
                    
                
                            
                                
                
                        
                            
                        
                    
                        
                            想改善这个问题吗? Update the question,所以它是on-topic,用于堆栈溢出。
                        
                        6年前关闭。
                                                                                            
                
        
Monit似乎正在运行,但是当我在端口:2812进入Web界面时,我得到了

-->:/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


有什么想法会导致这种情况吗?

最佳答案

我无法正常工作,因此所有外部IP都可以访问Web界面。

最后,我使用了Apache:

<VirtualHost *:80>
    ServerName monit.yourdomain.com
    ProxyPass / http://localhost:2812/
    ProxyPassReverse / http://localhost:2813/
    ProxyPreserveHost On
    <Proxy>
        Order allow,deny
        Allow from all
    </Proxy>
</VirtualHost>


您需要启用proxyproxy_http mod才能正常工作。

07-24 09:47