Nagios检测HTTP服务报错HTTP WARNING: HTTP/1.1 403

刚刚添加监控HTTP服务时,Nagios就直接一个警告。错误内容如下:

HTTP WARNING: HTTP/1.1 403 Forbidden - 5159 bytes in 0.001 second response time

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

touch  /var/www/html/index.html

之后重启 nagios 、httpd服务

/etc/init.d/nagios restart

/etc/init.d/httpd restart

等待几分钟后错误提示就会消失!

20160711090931

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: