can see only docs - set up web interface probl em

abune at exobrain.com abune at exobrain.com
Wed Feb 12 19:46:23 CET 2003


Aleksey,
My set-up /etc/httpd/conf/httpd.conf looks the same as yours,
I even put copy of .cgi to
[root at nagios init.d]# cd /var/www/cgi-bin
[root at nagios cgi-bin]# ls -al
total 1636
drwxr-xr-x    2 root     root         4096 Feb 12 11:52 .
drwxr-xr-x    7 root     root         4096 Apr  4  2002 ..
-rwxr-xr-x    1 root     root       143760 Feb 12 11:52 avail.cgi
-rwxr-xr-x    1 root     root       144956 Feb 12 11:52 cmd.cgi
-rwxr-xr-x    1 root     root       113808 Feb 12 11:52 config.cgi
-rwxr-xr-x    1 root     root       160324 Feb 12 11:52 extinfo.cgi
-rwxr-xr-x    1 root     root       105764 Feb 12 11:52 history.cgi
-rwxr-xr-x    1 root     root       101636 Feb 12 11:52 notifications.cgi
-rwxr-xr-x    1 root     root        98072 Feb 12 11:52 outages.cgi
-rwxr-xr-x    1 root     root       100228 Feb 12 11:52 showlog.cgi
-rwxr-xr-x    1 root     root       145116 Feb 12 11:52 status.cgi
-rwxr-xr-x    1 root     root       114832 Feb 12 11:52 statuswml.cgi
-rwxr-xr-x    1 root     root       108728 Feb 12 11:52 statuswrl.cgi
-rwxr-xr-x    1 root     root       119024 Feb 12 11:52 summary.cgi
-rwxr-xr-x    1 root     root       123100 Feb 12 11:52 tac.cgi

still same thing....
Andris

Quoting Aleksey Domorad <Aleksey at loehmanns.com>:

> Andris,
> 
> Here is my apache config for nagios
> 
> ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/
> <Directory /usr/lib/nagios/cgi/>
>    AllowOverride AuthConfig
>    Options ExecCGI
>    order deny,allow
>    deny from all
>    allow from all
> </Directory>
> 
> Alias /nagios/ /usr/share/nagios/
> <Directory /usr/share/nagios/>
>    AllowOverride AuthConfig
>    Options None
>    order deny,allow
>    deny from all
>    allow from all
> </Directory>
> 
> I run 1.3.27 
> Note the scriptalias directive
> Also 
> Make sure you have all permissions setup correctly for your CGI location.
> 
> IMHO your problem is somewhere here 
> 
> -----Original Message-----
> From: abune at exobrain.com [mailto:abune at exobrain.com] 
> Sent: Wednesday, February 12, 2003 1:08 PM
> To: Aleksey Domorad; nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] can see only docs - set up web interface probl
> em
> 
> 
> Aleksey 
> thank you, but again I can get just fine on webpage all I have in
> [root at nagios html]# cd /usr/local/nagios/share [root at nagios share]# ls -al
> total 60
> drwxrwxr-x    8 nagios   nagios       4096 Feb 12 11:38 .
> drwxr-xr-x   16 root     root         4096 Feb 12 11:31 ..
> drwxrwxr-x    2 nagios   nagios       4096 Feb 11 12:56 contexthelp
> drwxrwxr-x    3 nagios   nagios       4096 Feb 11 12:56 docs
> drwxrwxr-x    3 nagios   nagios       4096 Feb 11 12:56 images
> -rw-rw-r--    1 nagios   nagios        658 Feb 11 12:56 index.html
> -rw-rw-r--    1 nagios   nagios       2344 Feb 11 12:56 main.html
> drwxrwxr-x    2 nagios   nagios       4096 Feb 11 12:56 media
> -rw-rw-r--    1 nagios   nagios         26 Feb 11 12:56 robots.txt
> -rw-rw-r--    1 nagios   nagios      10608 Feb 11 12:56 side.html
> drwxrwxr-x    2 nagios   nagios       4096 Feb 11 12:56 ssi
> drwxrwxr-x    2 nagios   nagios       4096 Feb 11 12:56 stylesheets
> I'm missing something I guess  ...
> I also have
> [root at nagios share]# rpm -q gd
> gd-1.8.4-9
> [root at nagios share]# rpm -q zlib
> zlib-1.1.4-4
> Didn't use any rpms for Nagios.....
> Andris
> 
> Quoting Aleksey Domorad <Aleksey at loehmanns.com>:
> 
> > You should look into apache2 Config as it differs from apache1.x And 
> > also see if your cgi.cfg file is correct
> > 
> > 
> > -----Original Message-----
> > From: abune at exobrain.com [mailto:abune at exobrain.com]
> > Sent: Wednesday, February 12, 2003 12:24 PM
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] can see only docs - set up web interface problem
> > 
> > 
> > Hi!
> > I'm former user of NetSaint, now decided to move on to Nagios. Looks 
> > like Nagios is OK ( I have e-mail notifications) and looks like 
> > webpage is OK (can see documentation fine) When I go to any item below 
> > Documentation, like "Tactical overview" I got Object not found! The 
> > requested URL was not found on this server. The link on the referring 
> > page seems to be wrong or outdated. Please inform the author of that 
> > page about the
> > error. 
> > If you think this is a server error, please contact the webmaster 
> > Error 404
> > 192.1.1.8 
> > Wed Feb 12 12:12:40 2003 
> > Apache/2.0.40 (Red Hat Linux) 
> > For my installation I used
> >  5355520 Mar 30  2002 nagios-1.0.tar
> > 1771520 Feb 11 19:07 nagios-plugins-1.3.0-beta2.tar
> > Am I missing something? , like
> > nagios-plugins-extras
> > or
> > nagios-www ?
> > if so where I can get tar files for these two ?
> > Is there any difference that I use Apache/2.0.40 (Red Hat Linux) ? To set
> > up
> > web interface I followed instructions on doc page
> > http://nagios.sourceforge.net/docs/1_0/installweb.html
> > Thanks for help a ton,
> > Andris
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.NET email is sponsored by:
> > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! 
> > http://www.vasoftware.com 
> > _______________________________________________
> > 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
> > 
> 
> 




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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