my page is rendering fine on port 80 but check http give 403 error. Saw other posts saying that we have to touch index.html file on /var/www/html on remote servers.
how come some servers work and some not? is there a way to fix this without add index.html file?
libexec]# ./check_http -H ma100dl5
HTTP WARNING: HTTP/1.1 403 Forbidden - 4239 bytes in 0.002 second response time |time=0.002088s;;;0.000000 size=4239B;;;0
Nagios HTTP WARNING: HTTP/1.1 403 Forbidden
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Nagios HTTP WARNING: HTTP/1.1 403 Forbidden
There are many different ways to configure a webserver which would result in such an issue such as restricting by IP. We do not support configuring your webserver but we can review the Nagios side of things.
You can try running which will show you the output from the site you are trying to monitor.
You can try running
Code: Select all
# ./check_http -H ma100dl5 -vPrevious Nagios employee