User Cannot View Hosts
Cook, Garry
Garry.Cook at arcadis-us.com
Wed Apr 30 22:11:24 CEST 2008
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: chickenandporn at gmail.com [mailto:chickenandporn at gmail.com] On Behalf Of Allan Clark
Sent: Wednesday, April 30, 2008 2:06 PM
To: Cook, Garry
Cc: Nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] User Cannot View Hosts
On Wed, Apr 30, 2008 at 3:11 PM, Cook, Garry <Garry.Cook at arcadis-us.com<mailto:Garry.Cook at arcadis-us.com>> 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.
--
allanc at chickenandporn.com<mailto:allanc at chickenandporn.com> "金鱼" 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080430/9b9f2e21/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- 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