报错前提:

  刚刚添加监控HTTP服务时,Nagios就报错了!

错误内容如下:

HTTP WARNING: HTTP/1.1 403 Forbidden - 5240 bytes in 0.001 second response time |time=0.001260s;;;0.000000 size=5240B;;;0

 

原因是nagios监控HTTP时,会监控到/var/www/html/下面的index.html文件,若没有就会提示错误,创建一个文件即可!

#touch /var/www/html/index.html

#service httpd restart

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-06
  • 2022-12-23
  • 2022-12-23
  • 2021-08-28
  • 2022-12-23
  • 2021-07-26
猜你喜欢
  • 2022-03-05
  • 2022-12-23
  • 2022-01-10
  • 2022-12-23
  • 2021-09-06
  • 2021-02-24
  • 2022-12-23
相关资源
相似解决方案