Mutliple users cannot see their assigned hosts/services (contacts)
Tory M Blue
tmblue at gmail.com
Tue Aug 1 19:45:35 CEST 2006
Your amazing!!,.. I wonder where I got contact_groups from!!
Thanks for the easy answer, I'm cruisen again!
Tory
On 8/1/06, Joerg Linge <pitchfork at ederdrom.de> wrote:
>
> Am Dienstag, 1. August 2006 19:33 schrieb Tory M Blue:
> > Okay I've gone thru the list and I have no clue why things are not
> working
> > so I'm breaking down and pinging the collective.
> >
> > I can access using user/pass and view any and all services, do whatever
> I
> > want with the user that is configured in the various
> >
> > authorized_for_* in the cgi.cfg
> >
> > So I obviously or believe that:
> > a) if I'm being prompted for a pass/user that I have Apache auth working
> > fine
> > b) that if I log in with the associated user in the authorized_for lines
> > and can do everything I have a user/pass that CGI is accepting
> >
> > Sooooo
> >
> > When I create a secondary and tirturary user and those user names match
> the
> > contact group of various hosts why do I get the error:
> > "It appears as though you do not have permission to view information for
> > any of the hosts you requested..."
> >
> > Soo that you don't have to ask me questions regarding my configs..
> >
> > Here is what I think to be pertinant:
> >
> > Apache:
> > Alias /nagios "/usr/share/nagios/html"
> >
> > <Directory "/usr/share/nagios/html">
> > Options Indexes FollowSymLinks ExecCGI
> > AllowOverride AuthConfig
> > Order allow,deny
> > Allow from all
> > AuthName "Nagios Access"
> > AuthType Basic
> > AuthUserFile /etc/nagios/htpasswd.users
> > Require valid-user
> > </Directory>
> >
> > <Directory "/usr/lib/nagios/cgi-bin">
> > Options ExecCGI
> > AllowOverride AuthConfig
> > Order allow,deny
> > Allow from all
> > AuthName "Nagios Access"
> > AuthType Basic
> > AuthUserFile /etc/nagios/htpasswd.users
> > Require valid-user
> > </Directory>
> >
> > cgi.cfg "Only configured for my admin as the other users should
> > automagically be given visability into their hosts/services"
> >
> > *
> > authorized_for_all_services=admops
> > authorized_for_all_hosts=admops
> > *
> > contactgroups:
> >
> > define contactgroup{
> > contactgroup_name qa
> > alias QA Admins
> > members nagios-admins,qa-admins
> > }
> >
> > define contactgroup{
> > contactgroup_name dev
> > alias Dev Admins
> > members nagios-admins,dev-admins
> > }
> >
> > hosts_*.cfg
> >
> > define host{
> > use generic-host
> > host_name qa760
> > alias qa760
> > address xx.xx.xxx.xx
> > check_command check-host-alive
> > contact_groups admins, qa
> > }
> >
> > htpasswd-users:
> >
> > admops:SECURED
> > qa:SECURED
> > dev:SECURED
>
> The HTTP Username is the contact Name. Not the contact_group Name
>
> Jörg
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060801/6ba39817/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- 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