Error on nagios Web console: It appears as though you do not have permission to view information for any of the hosts you requested.

Novin Jaiswal novin.jaiswal at ishisystems.com
Tue Nov 25 17:57:55 CET 2008


Hi Friends,

 

We have installed Nagios using monarch on beta environment of our one of
our client.

 

The monarch is working fine and I was able to configure Nagios to
monitor the localhost(it self).

 

When I try to access Nagios web interface from our network. It allow me
to log in with Nagios uid/pass but I am getting following error when I
try to view any of the following link (only tactical view link is
working).

 

In nagios.conf for apache the our company ips are open to view it but
still I m facing the issue. Can any one tell mw wht is wrong.

 

 

Tactical Overview <http://172.16.35.26/nagios/cgi-bin/tac.cgi> 



Service Detail <http://172.16.35.26/nagios/cgi-bin/status.cgi?host=all> 



Host Detail
<http://172.16.35.26/nagios/cgi-bin/status.cgi?hostgroup=all&style=hostd
etail> 



Hostgroup Overview
<http://172.16.35.26/nagios/cgi-bin/status.cgi?hostgroup=all&style=overv
iew> 



Hostgroup Summary
<http://172.16.35.26/nagios/cgi-bin/status.cgi?hostgroup=all&style=summa
ry> 



Hostgroup Grid
<http://172.16.35.26/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid>




Servicegroup Overview
<http://172.16.35.26/nagios/cgi-bin/status.cgi?servicegroup=all&style=ov
erview> 



Servicegroup Su
<http://172.16.35.26/nagios/cgi-bin/status.cgi?servicegroup=all&style=su
mmary> 

 

 

Error

====================================

 

It appears as though you do not have permission to view information for
any of the hosts you requested...

If you believe this is an error, check the HTTP server authentication
requirements for accessing this CGI
and check the authorization options in your CGI configuration file.

 

 

Nagios.conf of apache.

 

  <Location />

      Options None

      order deny,allow

      deny from all

      #allow from 127.0.0.1

      Allow from 172.16

      #Allow from all

      AuthType Basic

      AuthUserFile /etc/nagios/passwd

      AuthName "nagios"

      require valid-user

   </Location>

 

   ScriptAlias /nagios/cgi-bin/ /usr/lib64/nagios/cgi-bin/

   <Directory /usr/lib64/nagios/cgi-bin/>

      Options ExecCGI

      order deny,allow

      deny from all

      #allow from 127.0.0.1

      Allow from 172.16

      #Allow from all

      AuthType Basic

      AuthUserFile /etc/nagios/passwd

      AuthName "nagios"

      require valid-user

   </Directory>

 

   Alias /nagios/ /usr/share/nagios/html/

   <Directory /usr/share/nagios/html/>

      Options None

      order deny,allow

      deny from all

      #allow from 127.0.0.1

      Allow from 172.16

      #Allow from all

      AuthType Basic

      AuthUserFile /etc/nagios/passwd

      AuthName "nagios"

      require valid-user

   </Directory>

 

  Alias /logs "/home/httpd/nagios/logs"

   <Location /logs>

      Options Indexes FollowSymLinks

   </Location>

   Alias /stats "/home/httpd/nagios/stats"

   CustomLog /home/httpd/nagios/logs/access_log combined

   CustomLog /home/httpd/nagios/logs/custom_log custom

   CustomLog logs/access_log combined

   CustomLog logs/custom_log custom

 

 

 

Thanks & Regards

Novin Jaiswal

201-521-3155(Direct)

732-318-8156(Cell)

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20081125/cf8c1d2a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 168 bytes
Desc: image001.png
URL: <https://www.monitoring-lists.org/archive/users/attachments/20081125/cf8c1d2a/attachment.png>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- 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