Almost there!

Bishop, Dean dean.bishop at tcdsb.org
Thu Oct 10 22:27:54 CEST 2002


yes. this indicates, as someone mentioned today, that you need to specify a
file to retrieve from the server.  You said that you get the default apache
page so you should be fine getting index.html.

./check_http -H localhost -u /index.html

later,
dean

--
dream outloud

-----Original Message-----
From: Seth Hollen [mailto:seth at hollen.org]
Sent: Thursday, October 10, 2002 4:20 PM
To: 'Bishop, Dean'; Seth Hollen; Seth Hollen;
nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Almost there!



>From tail /var/log/httpd/error_log
[Thu Oct 10 16:16:47 2002] [error] [client 192.168.1.165] Directory
index forbidden by rule: /var/www/html/

Why can't nagios get a response if everyone else can? I am stumped

Take Care,

Seth Hollen
seth at hollen.org
727-919-1598 

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Bishop,
Dean
Sent: Thursday, October 10, 2002 9:41 AM
To: Seth Hollen; Bishop, Dean; Seth Hollen;
nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Almost there!


what is in your apache logs?

/var/log/httpd/access_log and /var/log/httpd/error_log??



-----Original Message-----
From: Seth Hollen [mailto:seth at hollen.org]
Sent: Thursday, October 10, 2002 9:32 AM
To: 'Bishop, Dean'; Seth Hollen; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Almost there!


Yes root is in there, the only file I have password protected in apache
is the nagios directory. I can type into a browser the ip address of my
nagios server and it will comeup with the default apache webpage, and
it's serving the nagios pages as I type this. I'm just trying to figure
out why it reports that error message.

Take Care,

Seth Hollen
seth at hollen.org
727-919-1598 

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Bishop,
Dean
Sent: Thursday, October 10, 2002 9:24 AM
To: Seth Hollen; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Almost there!


is "root" a user in your htpasswd file?

-----Original Message-----
From: Seth Hollen [mailto:seth at hollen.org]
Sent: Thursday, October 10, 2002 8:57 AM
To: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Almost there!


I'm really confused on this.

This is what I get
[root at nagios nagios]# ./libexec/check_http -a root:xxxxx -I 127.0.0.1
HTTP WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]#
./libexec/check_http -H nagios HTTP WARNING: HTTP/1.1 403 Forbidden
[root at nagios nagios]# ./libexec/check_http -I 192.168.1.165 HTTP
WARNING: HTTP/1.1 403 Forbidden [root at nagios nagios]#
./libexec/check_http -I 127.0.0.1 HTTP WARNING: HTTP/1.1 403 Forbidden
[root at nagios nagios]#

Take Care,

Seth Hollen
seth at hollen.org
727-919-1598 

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Seth
Hollen
Sent: Wednesday, October 09, 2002 11:18 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Almost there!


Thanks to everyone for their help! My .cfg file problems turned out to
be dure to whitespace before comments and .'s in hostnames

I got nagios running but I am just trying ping and check_httpd on it's
self. Check_httpd returns an error

[root at nagios etc]# ../libexec/check_http 192.168.1.165
HTTP WARNING: HTTP/1.1 403 Forbidden
It is running and seems to be running fine to me, could this be due to
it being apache 2.0?


Take Care,

Seth Hollen
seth at hollen.org
727-919-1598 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002
 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002
 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002
 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002
 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list