User Cannot View Hosts

Allan Clark allanc at chickenandporn.com
Wed Apr 30 22:05:50 CEST 2008


On Wed, Apr 30, 2008 at 3:11 PM, Cook, Garry <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 "金鱼" http://linkedin.com/in/goldfish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080430/7fa4ab48/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