ace_lee

数据库一年级

导航

nagios报错HTTP WARNING: HTTP/1.1 403 Forbidden解决方法

Posted on 2017-03-06 21:24  ace_lee  阅读(583)  评论(1编辑  收藏  举报

 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恢复正常,如下图