为什么moint没有在本地主机上运行?

时间:2019-02-15 09:50:34

标签: monit

我正在尝试在ubuntu系统中运行monit。我按照link给出的完整步骤进行操作。即(https://www.tecmint.com/how-to-install-and-setup-monit-linux-process-and-services-monitoring-program/) 一切都很好,我没有收到任何错误,但是当我尝试在浏览器上加载它时(无法访问本地站点,拒绝本地连接)仍然在浏览器上显示我没有任何解决方案。< / p>

[未注释的代码] [1]

set httpd port 2812 and
     use address 10.0.4.115  # only accept connection from localhost
     allow 10.0.4.115        # allow localhost to connect to the server and
     allow admin:monit      # require user 'admin' with password 'monit'
     allow @monit
     allow @users readonly




kundan@CHEALPHADT005:~$ sudo monit status
Monit 5.25.1 uptime: 2h 35m

System 'CHEALPHADT005'
  status                       OK
  monitoring status            Monitored
  monitoring mode              active
  on reboot                    start
  load average                 [0.43] [0.45] [0.22]
  cpu                          0.7%us 0.4%sy 0.5%wa
  memory usage                 2.3 GB [29.6%]
  swap usage                   0 B [0.0%]
  uptime                       2h 35m
  boot time                    Fri, 15 Feb 2019 12:21:56
  data collected               Fri, 15 Feb 2019 14:57:15

1 个答案:

答案 0 :(得分:0)

似乎您已编辑出127.0.0.1,并在两个位置中将其替换为10.0.4.115。 阅读您上面发布的前3行旁边的评论。

我建议您删除“使用地址”行,并添加多条允许行。

boost::python::numpy::ndarray
相关问题