nagios' cgi

Live Great livegreat007 at yahoo.com
Sat Sep 29 05:18:28 CEST 2007


I could upgrade to apache2, but there is embperl built into apache as well, that make me a bit lazy to upgrade it.
How do you add cgi to apache(1.3) support?
Thanks
SW

----- Original Message ----
From: "Valdinger, Stephen (DOV, MSX)" <svalding at doverchem.com>
To: Live Great <livegreat007 at yahoo.com>; nagios-users at lists.sourceforge.net
Sent: Friday, September 28, 2007 10:41:06 PM
Subject: RE: [Nagios-users] nagios' cgi




 
 


<!--
 _filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;text-decoration:underline;}
span.EmailStyle17
	{font-family:Arial;color:navy;}
 _filtered {margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{}
-->






You need to add support for cgi to your
apache configuration. It may be worth you upgrading to Apache2, depending on
what version of Nagios and the plugins you are running? Can you supply us with
that information please? It may be beneficial to us in helping you solve this
problem. 
 

  
 

Stephen
 

  
 










From: Live Great
[mailto:livegreat007 at yahoo..com] 

Sent: Thursday, September 27, 2007
8:17 PM

To:
nagios-users at lists.sourceforge.net

Subject: [Nagios-users] nagios'
cgi
 




  
 





Hi,



I have installed nagios and its plugins in freebsd.

Restarted apache (1.3), and navigated to the nagios webpages of the website, it
does display the main page correctly.

However when I click any option in the left hand side of the main page, it
popup a download screen and asked me whether I want to download the cgi
program. 

The httpd.conf has the following nagios configuration lines written:

   <Directory /usr/local/www/nagios>

     Order allow,deny

     Allow from all

   </Directory>



   <Directory /usr/local/www/nagios/cgi-bin>

     AddHandler cgi-script .cgi

     Options ExecCGI

   </Directory>



  ScriptAlias /nagios/cgi-bin/ /usr/local/www/nagios/cgi-bin/

  Alias /nagios/  /usr/local/www/nagios/



Note, the apache running in my system has embedded perl module built in.

I also attached a screenshoot of the popup screen when I click on any option on
the left hand side of the nagios main page.



Your suggestion is much appreciated.



Thanks

SW
 













-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070928/c3cf4e9b/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list