[Nagiosplug-help] check_http returns "forbidden" but page is accessible from browser
Kevin Hanser
kevin at mica.net
Thu Aug 11 12:21:23 CEST 2005
Hmm, seems I've answered my own question as soon as I posted to the
list.
Apparently is is the apache test page that's causing issues. I created
an actual index.html for the server with one line of text in it, and now
check_http is working.
Does anyone know why the apache test page doesn't work for nagios
monitoring? I'm thinking it's something to do w/the way that apache
does the test page, since it's not actually in the /var/www/html
directory but someplace else...
interesting..
k
On Thu, 2005-08-11 at 15:16 -0400, Kevin Hanser wrote:
> I'm stumped by the behaviour I'm getting from check_http on certain
> servers. I have check_http configured on multiple servers and it's
> working fine.
>
> However, on certain servers, I get "access forbidden" when I use the
> check_http plugin/command. If I go to the server in my web browser from
> the nagios machine I can get to the page fine though... so I don't
> understand why check_http is getting forbidden....
>
> Also, if I telnet to port 80 on one of these machines and type "GET", I
> get the page no problem... only check_http is giving me the "access
> forbidden"... any idea why?
>
> One other thing to mention: the server I'm trying to monitor doesn't
> have a real main page, just the apache test page. It has a virtual host
> running on a diff hostname, but when you access it by IP address, you
> get the apache test page. Could that be causing some issues?
>
> thx!
>
> k
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
More information about the Help
mailing list