Search found 8 matches
- Fri Jun 06, 2014 11:26 am
- Forum: Open Source Nagios Projects
- Topic: CGI Downloading Instead of Executing
- Replies: 22
- Views: 91620
Re: CGI Downloading Instead of Executing
Good news I figured it out. I did not have Apache2 configured to load the CGI module. I put the following line at line 146 of the apache2.conf file, restarted and now everything is working fine. Thanks for all of the help, now on to setting Nagios up! :D I did run into an error while compiling the n...
- Thu Jun 05, 2014 1:27 pm
- Forum: Open Source Nagios Projects
- Topic: CGI Downloading Instead of Executing
- Replies: 22
- Views: 91620
Re: CGI Downloading Instead of Executing
Thanks for the help, I kept running into errors, which I am sure is me and not what is posted. I see that a new version of core has been released so I am going to try again with a clean server and install with 4.07. If I can I will close this thread and if I still have the same issue I will open a n...
- Wed Jun 04, 2014 11:54 am
- Forum: Open Source Nagios Projects
- Topic: CGI Downloading Instead of Executing
- Replies: 22
- Views: 91620
Re: CGI Downloading Instead of Executing
I sorry I missed that before, I went in and put the slashes in and restarted Apache2. Unfortunately it did not resolve the issue. Thanks
- Tue Jun 03, 2014 6:51 am
- Forum: Open Source Nagios Projects
- Topic: CGI Downloading Instead of Executing
- Replies: 22
- Views: 91620
Re: CGI Downloading Instead of Executing
The removal of the quotes for the script alias did not have an impact. As I looked at that part of the Apache2 config file it looks like the quotes should not be included so I am permanently removing them.
- Mon Jun 02, 2014 9:41 am
- Forum: Open Source Nagios Projects
- Topic: New Nagios Core user
- Replies: 10
- Views: 3311
Re: New Nagios Core user
I am working through my first install as well and I am setting Nagios up on an Ubuntu 14.04 LTS server with Apache2. If you are doing the same and following the directions that were previously posted you will need to do a mkdir /etc/httpd and mkdir /etc/httpd/conf.d before running the make install-w...
- Mon Jun 02, 2014 9:32 am
- Forum: Open Source Nagios Projects
- Topic: CGI Downloading Instead of Executing
- Replies: 22
- Views: 91620
Re: CGI Downloading Instead of Executing
I had previously removed the quotes for the ScriptAlias and tried it again, and it did not have any impact. Reading through the config file I see the other listings did not have quotes so I am permanently removing the quotes. I ran "apache2 -M | grep cgi" and got the following: root@logsta...
- Fri May 30, 2014 5:20 am
- Forum: Open Source Nagios Projects
- Topic: CGI Downloading Instead of Executing
- Replies: 22
- Views: 91620
Re: CGI Downloading Instead of Executing
All of the cgi's in the sbin folder are executable. root@logstash141:/home/rb# ls -la /usr/local/nagios/sbin total 5136 drwxrwxr-x 2 nagios nagios 4096 May 28 10:33 . drwxr-xr-x 9 root root 4096 May 28 10:40 .. -rwxrwxr-x 1 nagios nagios 316480 May 28 10:33 archivejson.cgi -rwxrwxr-x 1 nagios nagios...
- Thu May 29, 2014 12:50 pm
- Forum: Open Source Nagios Projects
- Topic: CGI Downloading Instead of Executing
- Replies: 22
- Views: 91620
CGI Downloading Instead of Executing
Following the Ubuntu quickstart guide for Nagios4 I have installed Nagios 4.06 on Ubuntu 14.04 and it is running (the nagios service). I can get to the default Nagios web page, however when I click on a link the browser downloads the file instead of executing the script. I have populated the followi...