HI, thanks for the replies.
I m running the following version of Nagios and plugins:
 # pkg_info | grep -i nagios
nagios-2.9_1        Extremely powerful network monitoring system
nagios-plugins-1.4.5,1 Plugins for Nagios
nagios-snmp-plugins-1.0_5 Additional SNMP plugins for Nagios

Thanks
SW

----- Original Message ----
From: "Valdinger, Stephen (DOV, MSX)" <[EMAIL PROTECTED]>
To: Live Great <[EMAIL PROTECTED]>; [email protected]
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:[EMAIL PROTECTED] 

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

To:
[email protected]

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
 













-------------------------------------------------------------------------
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/
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to