HostGroup not visible to notification recipients

Marc Powell marc at ena.com
Wed Feb 21 17:54:17 CET 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of David G Schlecht
> Sent: Tuesday, February 20, 2007 5:32 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] HostGroup not visible to notification
recipients
> 
> All,
> 
> I've encountered a strange issue and hope that someone can tell me if
this
> is a
> bug or a configuration issue.
> 
> I have multiple hosts (h1, h2, h3) in a hostGroup. Two of the hosts
(h1,
> h2) are
> configured with notifications to two different contactGroups (c1, c2).
The
> third
> host, h3, only notifies one group, c2.
> 
> All members of c2 can see all the hosts in the host group when viewing
the
> HostGroup Summary. Group c1 cannot see the hostGroup, but can see the
> individual
> hosts they get notifications from(h1 and h2). Clicking on the
hostGroup
> link in
> the host's cgi-bin/extinfo.cgi page produces a page with the message:
> *  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.
> 
> 
> Any ideas?

C1 isn't authorized to see all hosts in the hostgroup object so none are
displayed. I've hit up against this a couple times in the past. It's
understandable, but not necessarily desirable. I haven't delved too
deeply into it but my thoughts are that the view permission logic is
object based. Either you have permission to view all elements of that
object or you don't. For most objects that's just fine but for
hostgroups and servicegroups it would be more desirable for those
sub-elements that you do have permission for to be displayed and ignore
those elements that you don't. Probably a feature request.

--
Marc 

-------------------------------------------------------------------------
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





More information about the Users mailing list