All,
Here is my problem:
Whenever I attempt to connect with Nagios via a webserver I get the following error in my Apache2 log:
File does not exist: /usr/local/nagios/share/<, referrer: http://localhost:8888/nagios/.
Now judging from all the google searches I've done, this is a very common problem, however, none of the suggested solutions have worked for me. I've done the following:
1. Recompiled nagios several times.
2. Changed the DirectoryIndex value in /etc/apache2/httpd.conf from index.html to index.php.
One thing I've noticed, when I go to directly to the files config.inc.php, main.php, and side.php, I do not get the "file does not exist" error. However, when I go directly to the index.php file I get the error. Also, even though I get the the side panel without errors, when ever I click on one of the links I get the "file does not exist" error. I do not get the errors when I clcik on the "Home" or "Documentation" links.
The only modifications I've done in /etc/apache2/httpd.conf were changing the DirectoryIndex value to index.php index.html index.html.var, changing the listening port to 8888, and add the ScriptAlias and Alias declarations at the bottom of the file:
ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin
<Directory "/usr/local/nagios/sbin">
Options ExecCGI
AllowOverride None
Order allow, deny
Allow from all
</Directory>
Alias /nagios /usr/local/nagios/share
<Directory "/usr/local/nagios/share">
Options None
AllowOverride None
Order allow, deny
Allow from all
</Directory>
I'm at a disadvantage because I am not a web designer. I'm at my wit's end. Is it a problem because I'm using Solaris? Or because I'm using Solaris's native Apache2?
Any help would be appreciated.
Solaris 10/Apache2/Nagios Integration Problem
-
- Posts: 1
- Joined: Mon May 23, 2011 1:37 pm