Error on nagios Web console: It appears asthough you do not have permission to view information for anyof the hosts you requested.

Novin Jaiswal novin.jaiswal at ishisystems.com
Tue Nov 25 18:24:53 CET 2008


Hi I found the issue


In Following definition there is a extra "/" at the end of the path
which is giving us the issue /usr/lib64/nagios/cgi-bin/


Due to all hyperlinks are generated with extra/ that
http://mynagios/nagios/cgi-bin//status.cgi?hostgroup=all&style=hostdetai
l

has an extra / for e.g "//status.cgi?" I think this could be the reason.

  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>
Thanks & Regards
Novin Jaiswal
Ishi Systems Inc.
201-521-3155(Direct)
732-318-8156(Cell)



-----Original Message-----
From: Assaf Flatto [mailto:assaf.flatto at ssp.uk.com] 
Sent: Tuesday, November 25, 2008 12:11 PM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Error on nagios Web console: It appears
asthough you do not have permission to view information for anyof the
hosts you requested.


On Tuesday 25 November 2008 16:57:55 Novin Jaiswal wrote:
> 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.
<snip>
>
> 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>

have you checked in the nagios.cfg  and in the cgi.cfg that the user you
are using has permissions 
to view the nagios data ?

http://nagios.sourceforge.net/docs/3_0/cgiauth.html

-- 
Assaf Flatto
SSP Ops Team
Linux System Administrator
169 Euston Road, London, NW1 2AE





IMPORTANT . this email and the information in it may be confidential,
legally
privileged and/or protected by law. It is intended solely for the use of
the
person to whom it is addressed. If you are not the intended recipient,
please
notify the sender immediately and do not disclose the contents to any
other
person, use it for any purpose, or store or copy the information in any
medium.
Please also delete all copies of this email and any attachments from
your
system.

We cannot guarantee the security or confidentiality of email
communications. We
do not accept any liability for losses or damages that you may suffer as
a
result of your receipt of this email including but not limited to
computer
service or system failure, access delays or interruption, data
non-delivery or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service
Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK
Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that
could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and
Wales
(company number 05687183) whose registered office is at 1 The Heights,
Brooklands, Weybridge. Surrey. KT13 0NY
 
 

------------------------------------------------------------------------
-
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=/
_______________________________________________
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 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=/
_______________________________________________
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