首页 > 技术文章 > nagios报错HTTP WARNING: HTTP/1.1 403 Forbidden解决方法

ace-lee 2017-03-06 21:24 原文

 Nagios--localhost报警:“WARNING: HTTP/1.1 403 Forbidden ”解决方法:

In dashboard it shows alert on localhost i.e our own newly set up nagios server.

在/var/www/html目录下新建文件index.html,命令如下

[root@localhost /var/www/html]# touch index.html
[root@localhost /var/www/html]# systemctl restart httpd
[root@localhost /var/www/html]# systemctl restart nagios

 

运行后HTTP恢复正常,如下图

 

 

 

 

推荐阅读