Nagios HTTP WARNING: HTTP/1.1 403 Forbidden

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vy3734
Posts: 109
Joined: Tue Sep 29, 2015 4:48 pm

Nagios HTTP WARNING: HTTP/1.1 403 Forbidden

Post by vy3734 »

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
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Nagios HTTP WARNING: HTTP/1.1 403 Forbidden

Post by avandemore »

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

Code: Select all

# ./check_http -H ma100dl5 -v
which will show you the output from the site you are trying to monitor.
Previous Nagios employee
Locked