Re: Nagios and Apache

2006-06-26 Thread Peter Blair
resource_file=/usr/local/nagios/etc/resource.cfg works great for the default source install of Nagios. But switch it to a RPM, or PKG'd version of Nagios and you can't ensure that this directive will point to the right place or not. -Pete On 6/24/06, Lars Hansson [EMAIL PROTECTED] wrote: On

Re: Nagios and Apache

2006-06-24 Thread Peter Blair
On 6/23/06, Spruell, Darren-Perot [EMAIL PROTECTED] wrote: Incidentally, if you haven't used the package(s) for Nagios, do. I had no problems and I went with a package install. No mysteries. At work we run Nagios across Linux, OpenBSD FreeBSD machines. Compiling it from source is the only way

Re: Nagios and Apache

2006-06-24 Thread Lars Hansson
On Saturday 24 June 2006 18:13, Peter Blair wrote: At work we run Nagios across Linux, OpenBSD FreeBSD machines. Compiling it from source is the only way to ensure config file compatibility. Say what? How does the compilation affect the config file? The config file format is exactly the same

Nagios and Apache

2006-06-23 Thread João Salvatti
Hi all, I've installed and configured nagios, and I can open the start page with no problems. But I don't have access to the links that monitor services, such as Tatical Overview. At apache log I have the following error messages: [Fri Jun 23 15:42:51 2006] [error] (13)Permission denied: exec

Re: Nagios and Apache

2006-06-23 Thread Rogier Krieger
On 6/23/06, Joco Salvatti [EMAIL PROTECTED] wrote: [Fri Jun 23 15:42:51 2006] [error] (13)Permission denied: exec of /cgi-bin/nagios/tac.cgi failed A quick guess: check your file permissions for tac.cgi. From errno(2): 13 EACCES Permission denied. An attempt was made to access a file in a way

Re: Nagios and Apache

2006-06-23 Thread Spruell, Darren-Perot
From: [EMAIL PROTECTED] I've installed and configured nagios, and I can open the start page with no problems. But I don't have access to the links that monitor services, such as Tatical Overview. At apache log I have the following error messages: [Fri Jun 23 15:42:51 2006] [error]

Re: Nagios and Apache

2006-06-23 Thread Dan Farrell
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Spruell, Darren-Perot Sent: Friday, June 23, 2006 3:22 PM To: Misc OpenBSD Subject: Re: Nagios and Apache From: [EMAIL PROTECTED] I've installed and configured nagios, and I can open the start page

Re: Nagios and Apache

2006-06-23 Thread Peter Blair
Obvious, but ensure that /var/www/cgi-bin/nagios is a valid directory from the perspective of your chroot'd server. Another caveat is to ensure that the named pipe is accessable to both the nagios executable, and to the chroot'd cgi's (once they start working that is). Nagios references the

Re: Nagios and Apache

2006-06-23 Thread Dan Farrell
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Blair Sent: Friday, June 23, 2006 4:02 PM To: Joco Salvatti Cc: Misc OpenBSD Subject: Re: Nagios and Apache Obvious, but ensure that /var/www/cgi-bin/nagios is a valid directory from

Re: Nagios and Apache

2006-06-23 Thread Spruell, Darren-Perot
From: [EMAIL PROTECTED] Obvious, but ensure that /var/www/cgi-bin/nagios is a valid directory from the perspective of your chroot'd server. I would say that it is a valid directory... it was on my installation. Isn't /var/www/cgi-bin a valid chroot directory by definition?

Re: Nagios and Apache

2006-06-23 Thread Craig Skinner
On Fri, Jun 23, 2006 at 03:45:35PM -0300, Joco Salvatti wrote: [Fri Jun 23 15:42:51 2006] [error] (13)Permission denied: exec of /cgi-bin/nagios/tac.cgi failed /var[/www] mounted noexec in fstab?

Re: Nagios and Apache

2006-06-23 Thread João Salvatti
Hi folks... Thanks for the suggestions. But I didn't have paid attention that the problem was at /etc/fstab file : noexec flag was active for /var partition. I should have paid better attention to that before. Thanks. On 6/23/06, Craig Skinner [EMAIL PROTECTED] wrote: On Fri, Jun 23, 2006 at