刚刚添加监控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
时间: 2024-11-10 11:33:04