HTTP WARNING: HTTP/1.1 403 Forbidden

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
braindope
Posts: 80
Joined: Fri Sep 26, 2014 12:13 am

HTTP WARNING: HTTP/1.1 403 Forbidden

Post by braindope »

Hi,

Command check:
define command{
command_name check_http
command_line $USER1$/check_http -H $HOSTADDRESS$
}
Error:
HTTP WARNING: HTTP/1.1 403 Forbidden
As my research on the net i've already add index.html on /var/www/html and its permission is 777, restart my httpd service and nagios.

when I run manually the check_http it give positive result, any ideas?
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: HTTP WARNING: HTTP/1.1 403 Forbidden

Post by hsmith »

braindope wrote:Hi,

Command check:
define command{
command_name check_http
command_line $USER1$/check_http -H $HOSTADDRESS$
}
Error:
HTTP WARNING: HTTP/1.1 403 Forbidden
As my research on the net i've already add index.html on /var/www/html and its permission is 777, restart my httpd service and nagios.

when I run manually the check_http it give positive result, any ideas?
What kind of address are you trying to check?
Former Nagios Employee.
me.
Locked