Not weak at all, I think that points towards the issue. At some point I changed 
the ‘*’ to a couple of usernames. Changing it back for Authorized For All Hosts 
allows this new user to view all hosts. This is close to what I want, but not 
exactly. I just want them to be able to see the hosts that they are listed as a 
contact for.

Thanks,
Garry

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allan Clark
Sent: Wednesday, April 30, 2008 2:06 PM
To: Cook, Garry
Cc: Nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] User Cannot View Hosts

On Wed, Apr 30, 2008 at 3:11 PM, Cook, Garry <[EMAIL PROTECTED]<mailto:[EMAIL 
PROTECTED]>> wrote:

I've setup some new servers in Nagios, and assigned them to a new user listed 
in contacts.cfg and in an .htpasswd file for cgi access.

Running the configuration verification check shows no warning and no errors. 
When logged in to the GUI as this user I can view all of the services, run 
commands to check them, etc., but cannot view or send host related commands.

Anyone know what I'm missing?
Can you confirm your:

grep  ^authorized_for_all_host  /etc/nagios/cgi.cfg ?

This should produce two lines of output something like:
==
authorized_for_all_hosts=*
authorized_for_all_host_commands=*
==
or:
==
authorized_for_all_hosts=nagios,allanc
authorized_for_all_host_commands=nagios,allanc
==

(where you have a bunch of usernames rather than my "allanc" in that line)

It's a bit of a weak response, sorry, I bet others here will have better ideas.
--
[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> "金鱼" http://linkedin.com/in/goldfish

________________________________
NOTICE: This e-mail and any files transmitted with it are the property of 
ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation 
copyright, are reserved. The proprietary information contained in this e-mail 
message, and any files transmitted with it, is intended for the use of the 
recipient(s) named above. If the reader of this e-mail is not the intended 
recipient, you are hereby notified that you have received this e-mail in error 
and that any review, distribution or copying of this e-mail or any files 
transmitted with it is strictly prohibited. If you have received this e-mail in 
error, please notify the sender immediately and delete the original message and 
any files transmitted. The unauthorized use of this e-mail or any files 
transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its 
affiliates.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to