Check_http[Scanned]
Pascal MIQUET
p.miquet at hafiba.fr
Mon Oct 17 16:11:27 CEST 2005
That's it.
This does the job.
But, let me ask you this.
If I want to check a specific port, do I have to edit the checkcommand.cfg to add a custom http ?
Same for accessing a specific path to the web server ?
Thanks for your help
Regards
Pascal Miquet
________________________________
De : Rob Moss [mailto:robmossrm at aol.com]
Envoyé : lundi 17 octobre 2005 16:02
À : Pascal MIQUET
Cc : nagios-users at lists.sourceforge.net
Objet : Re: [Nagios-users] Check_http[Scanned]
Pascal MIQUET wrote:
Using NAGIOS 2 Nagios Plugins 1.4.2
If I issue the command ./check_http -H 192.168.1.4 I get the warning HTTP/1.1 403 Fobidden
with the -v option I get the content of the default web server, which is a Centos 3.5
On the web server side, I got a Directory index forbidden by rule : /var/www/html/
So all seems that the server side needs to be tuned to get the right response.
Note that if I issue the command check_http -H 192.168.1.4 -u /nagios the response is OK
This is the webserver configuration causing the problem.
To work around this, drop an index file (usually named 'index.html') into the /var/www/html directory..
If that doesn't work, you need to check your configuration and see why it's giving a 403 forbidden error, usually to do with directory permissions, or missing index file..
rob.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051017/673f3d1b/attachment.html>
More information about the Users
mailing list