找不到nagios索引页面

时间:2018-10-10 12:50:21

标签: php apache nagios

我已按照手册http://linuxcalling.blogspot.com/2016/07/installing-nagios-core-without-root.html

在服务器上安装了Nagios。

但是在运行它之后,找不到页面:

Not Found The requested URL /nagios/index.php was not found on this server.

日志中显示错误:

[Wed Oct 10 14:48:15.520899 2018] [:error] [pid 2085:tid 139654527371008] [client 10.247.250.104:52692] script '/var/opt/user/monitoring/nagios/shareindex.php' not found or unable to stat

但索引页面的位置在位置上,并且缺少“ /”: /var/opt/user/monitoring/nagios/share/index.php 有人知道如何解决这个问题吗?

1 个答案:

答案 0 :(得分:0)

因此通过以下配置更改'conf / nagios.conf'解决了该问题:

...
Alias /nagios/ "/var/opt/user/monitoring/nagios/share/./"

<Directory "/var/opt/user/monitoring/nagios/share/./">
...